summaryrefslogtreecommitdiffstats
path: root/libdimension/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-05-30 15:40:46 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-05-30 15:40:46 -0400
commitf61c7c75c3c7ff4a329315700d3efa1d77bafa6d (patch)
tree9fc9bab72b12644aed948a82602638273cc82d62 /libdimension/tests
parent77f880207d4fc37f82299d78d04be13623d9da0a (diff)
downloaddimension-f61c7c75c3c7ff4a329315700d3efa1d77bafa6d.tar.xz
pool: Separate dmnsn_palloc and dmnsn_palloc_tidy() APIs.
Diffstat (limited to 'libdimension/tests')
-rw-r--r--libdimension/tests/pool.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libdimension/tests/pool.c b/libdimension/tests/pool.c
index e135ce4..d12850d 100644
--- a/libdimension/tests/pool.c
+++ b/libdimension/tests/pool.c
@@ -59,10 +59,10 @@ callback(void *ptr)
DMNSN_TEST(pool, callback)
{
- dmnsn_palloc(pool, sizeof(int), NULL);
- dmnsn_palloc(pool, sizeof(int), callback);
- dmnsn_palloc(pool, sizeof(int), callback);
- dmnsn_palloc(pool, sizeof(int), NULL);
+ DMNSN_PALLOC_TIDY(pool, int, NULL);
+ DMNSN_PALLOC_TIDY(pool, int, callback);
+ DMNSN_PALLOC_TIDY(pool, int, callback);
+ DMNSN_PALLOC_TIDY(pool, int, NULL);
dmnsn_delete_pool(pool);
pool = NULL;