diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2018-12-27 13:47:34 -0600 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-01-22 22:30:35 +0000 |
| commit | f673e232afe22eb865cdc915e55a2df6493f0fbb (patch) | |
| tree | e79e3e6fb1e1d78367679aea75e66c8141b4daa8 /src/array.h | |
| parent | 647dfdb42d06514a85c1499f1be88a32b8a4c24b (diff) | |
| download | libgit2-f673e232afe22eb865cdc915e55a2df6493f0fbb.tar.gz | |
git_error: use new names in internal APIs and usage
Move to the `git_error` name in the internal API for error-related
functions.
Diffstat (limited to 'src/array.h')
| -rw-r--r-- | src/array.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/array.h b/src/array.h index 1d8a01c96..03537e796 100644 --- a/src/array.h +++ b/src/array.h @@ -15,7 +15,7 @@ * git_array_t(int) my_ints = GIT_ARRAY_INIT; * ... * int *i = git_array_alloc(my_ints); - * GITERR_CHECK_ALLOC(i); + * GIT_ERROR_CHECK_ALLOC(i); * ... * git_array_clear(my_ints); * @@ -36,7 +36,7 @@ #define git_array_clear(a) \ do { git__free((a).ptr); git_array_init(a); } while (0) -#define GITERR_CHECK_ARRAY(a) GITERR_CHECK_ALLOC((a).ptr) +#define GIT_ERROR_CHECK_ARRAY(a) GIT_ERROR_CHECK_ALLOC((a).ptr) typedef git_array_t(char) git_array_generic_t; |
