From 962f5efdf1af9f07395c28df7a2181733e3e5125 Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Sat, 3 Feb 2024 16:58:23 -0600 Subject: add lists --- src/htgen.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/htgen.h') diff --git a/src/htgen.h b/src/htgen.h index 86bf7e9..3e22329 100644 --- a/src/htgen.h +++ b/src/htgen.h @@ -4,6 +4,7 @@ #include #include +#ifdef HTGEN__TEST_CONFIG #if 1 #define HT_PREFIX shash_ #define HT_VALTYPE char * @@ -75,6 +76,7 @@ XXH64_hash_t ihash_hash_int(int i) #define HT_KEY_FMT "%d" #define HT_VAL_FMT "%d" +#endif #endif #define HT_MALLOC(_sz) malloc(_sz) @@ -128,7 +130,7 @@ HT_VALTYPE HT__NS(popn)(HT__TYPE *ht, HT_KEYTYPE_CREF key, size_t keylen, bool * /* implementations */ -#if defined(HT_IMPLEMENTATIONS) || 1 +#if defined(HT_IMPLEMENTATIONS) #define HT__NODE HT__NS(_node) -- cgit v1.2.3-70-g09d2