summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_array.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-07-12 20:32:22 +0300
committerMax Romanov <max.romanov@nginx.com>2017-07-12 20:32:22 +0300
commit288fa854315067b66cc5926222e0bfb5942147a2 (patch)
tree205147b5a5b27792f4bcb34274e27123ac86024f /src/nxt_array.h
parent48afadfe7c617991cefc289e0200bfbbadecdbb9 (diff)
downloadunit-288fa854315067b66cc5926222e0bfb5942147a2.tar.gz
unit-288fa854315067b66cc5926222e0bfb5942147a2.tar.bz2
Array elements reallocation fixed.
Diffstat (limited to 'src/nxt_array.h')
-rw-r--r--src/nxt_array.h1
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);