From b50ca249d9d9726cbdca4358cc143b8d5672e879 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sun, 20 Aug 2017 09:39:38 +0200 Subject: [PATCH] Fix broken mempool build. --- bench/bench-mlib.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/bench/bench-mlib.c b/bench/bench-mlib.c index df696c38..29d51919 100644 --- a/bench/bench-mlib.c +++ b/bench/bench-mlib.c @@ -47,7 +47,7 @@ LIST_DEF(list_uint, unsigned int) static void test_list (size_t n) { #ifdef USE_MEMPOOL - mempool_list_uint_init(list_mpool); + list_uint_mempool_init(list_mpool); #endif M_LET(a1, a2, LIST_OPLIST(list_uint)) { for(size_t i = 0; i < n; i++) { @@ -62,7 +62,7 @@ static void test_list (size_t n) g_result = s; } #ifdef USE_MEMPOOL - mempool_list_uint_clear(list_mpool); + list_uint_mempool_clear(list_mpool); #endif } @@ -77,7 +77,7 @@ RBTREE_DEF(rbtree_ulong, unsigned long) static void test_rbtree(size_t n) { #ifdef USE_MEMPOOL - mempool_rbtree_ulong_init(rbtree_mpool); + rbtree_ulong_mempool_init(rbtree_mpool); #endif M_LET(tree, RBTREE_OPLIST(rbtree_ulong)) { for (size_t i = 0; i < n; i++) { @@ -93,7 +93,7 @@ static void test_rbtree(size_t n) g_result = s; } #ifdef USE_MEMPOOL - mempool_rbtree_ulong_clear(rbtree_mpool); + rbtree_ulong_mempool_clear(rbtree_mpool); #endif } @@ -109,7 +109,7 @@ static void test_dict(unsigned long n) { #ifdef USE_MEMPOOL - mempool_list_dict_pair_ulong_init(dict_mpool); + dict_ulong_list_pair_mempool_init(dict_mpool); #endif M_LET(dict, DICT_OPLIST(dict_ulong)) { for (size_t i = 0; i < n; i++) { @@ -126,7 +126,7 @@ test_dict(unsigned long n) g_result = s; } #ifdef USE_MEMPOOL - mempool_list_dict_pair_ulong_clear(dict_mpool); + dict_ulong_list_pair_mempool_clear(dict_mpool); #endif } @@ -186,7 +186,7 @@ static void test_dict_big(unsigned long n) { #ifdef USE_MEMPOOL - mempool_list_dict_pair_char_init(dict_mpool2); + dict_char_list_pair_mempool_init(dict_mpool2); #endif M_LET(dict, DICT_OPLIST(dict_char)) { for (size_t i = 0; i < n; i++) { @@ -207,7 +207,7 @@ test_dict_big(unsigned long n) g_result = s; } #ifdef USE_MEMPOOL - mempool_list_dict_pair_char_clear(dict_mpool2); + dict_char_list_pair_mempool_clear(dict_mpool2); #endif } @@ -223,7 +223,7 @@ static void test_dict_str(unsigned long n) { #ifdef USE_MEMPOOL - mempool_list_dict_pair_str_init(dict_mpool3); + dict_str_list_pair_mempool_init(dict_mpool3); #endif M_LET(s1, s2, STRING_OPLIST) M_LET(dict, DICT_OPLIST(dict_str)) { @@ -243,7 +243,7 @@ test_dict_str(unsigned long n) g_result = s; } #ifdef USE_MEMPOOL - mempool_list_dict_pair_str_clear(dict_mpool3); + dict_str_list_pair_mempool_clear(dict_mpool3); #endif }