diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-07-12 20:32:22 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-07-12 20:32:22 +0300 |
commit | 288fa854315067b66cc5926222e0bfb5942147a2 (patch) | |
tree | 205147b5a5b27792f4bcb34274e27123ac86024f /src/nxt_array.h | |
parent | 48afadfe7c617991cefc289e0200bfbbadecdbb9 (diff) | |
download | unit-288fa854315067b66cc5926222e0bfb5942147a2.tar.gz unit-288fa854315067b66cc5926222e0bfb5942147a2.tar.bz2 |
Array elements reallocation fixed.
Diffstat (limited to 'src/nxt_array.h')
-rw-r--r-- | src/nxt_array.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_array.h b/src/nxt_array.h index 8a99aa2c..8d2b14f1 100644 --- a/src/nxt_array.h +++ b/src/nxt_array.h @@ -20,6 +20,7 @@ typedef struct { NXT_EXPORT nxt_array_t *nxt_array_create(nxt_mp_t *mp, nxt_uint_t n, size_t size); +NXT_EXPORT void nxt_array_destroy(nxt_array_t *array); NXT_EXPORT void *nxt_array_add(nxt_array_t *array); NXT_EXPORT void *nxt_array_zero_add(nxt_array_t *array); NXT_EXPORT void nxt_array_remove(nxt_array_t *array, void *elt); |