From f61c7c75c3c7ff4a329315700d3efa1d77bafa6d Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 30 May 2014 15:40:46 -0400 Subject: pool: Separate dmnsn_palloc and dmnsn_palloc_tidy() APIs. --- libdimension/tests/pool.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libdimension/tests') 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; -- cgit v1.2.3