diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-06-20 19:49:17 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-06-20 19:49:17 +0300 |
commit | f888a5310c1808902b4035ca3454b62bc5cf4434 (patch) | |
tree | 7425e11cdba27420d21468b0f79787834bd3c498 /src/nxt_string.h | |
parent | c7ab908c19242a5ddd0233e123e8c2be210b3c02 (diff) | |
download | unit-f888a5310c1808902b4035ca3454b62bc5cf4434.tar.gz unit-f888a5310c1808902b4035ca3454b62bc5cf4434.tar.bz2 |
Using new memory pool implementation.
Diffstat (limited to 'src/nxt_string.h')
-rw-r--r-- | src/nxt_string.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nxt_string.h b/src/nxt_string.h index d121b788..6fce9284 100644 --- a/src/nxt_string.h +++ b/src/nxt_string.h @@ -133,10 +133,10 @@ nxt_str_null(str) \ } while (0) -NXT_EXPORT nxt_str_t *nxt_str_alloc(nxt_mem_pool_t *mp, size_t length); -NXT_EXPORT nxt_str_t *nxt_str_dup(nxt_mem_pool_t *mp, nxt_str_t *dst, +NXT_EXPORT nxt_str_t *nxt_str_alloc(nxt_mp_t *mp, size_t length); +NXT_EXPORT nxt_str_t *nxt_str_dup(nxt_mp_t *mp, nxt_str_t *dst, const nxt_str_t *src); -NXT_EXPORT char *nxt_str_copy(nxt_mem_pool_t *mp, const nxt_str_t *src); +NXT_EXPORT char *nxt_str_copy(nxt_mp_t *mp, const nxt_str_t *src); #define \ |