summaryrefslogtreecommitdiffstats
path: root/libdimension/tests
diff options
context:
space:
mode:
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;