diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-04-11 01:27:33 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-04-11 01:27:33 +0000 |
commit | 1c8f9b319b6cd94c1c00731349c9dda6ec723979 (patch) | |
tree | 77824ef42694a7c963b8e11e3f57bbcbb6adf013 /src/common/mempool.h | |
parent | 197745f28582a7f6d752f8636ba78d5cb6f54a12 (diff) | |
download | tor-1c8f9b319b6cd94c1c00731349c9dda6ec723979.tar.gz tor-1c8f9b319b6cd94c1c00731349c9dda6ec723979.zip |
r12344@catbus: nickm | 2007-04-10 21:27:25 -0400
Fix documentation and usage of 2nd argument to mp_pool_new.
svn:r9942
Diffstat (limited to 'src/common/mempool.h')
-rw-r--r-- | src/common/mempool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/mempool.h b/src/common/mempool.h index a1bc3bd0d1..1f9e2f5534 100644 --- a/src/common/mempool.h +++ b/src/common/mempool.h @@ -17,7 +17,7 @@ typedef struct mp_pool_t mp_pool_t; void *mp_pool_get(mp_pool_t *pool); void mp_pool_release(void *item); -mp_pool_t *mp_pool_new(size_t item_size, unsigned int n_per_chunk); +mp_pool_t *mp_pool_new(size_t item_size, size_t chunk_capacity); void mp_pool_clean(mp_pool_t *pool, int n); void mp_pool_destroy(mp_pool_t *pool); void mp_pool_assert_ok(mp_pool_t *pool); |