De-export test-only helpers via JET_EXTERN / #ifdef JEMALLOC_JET; declare in unit tests, not headers

This commit is contained in:
Slobodan Predolac
2026-06-08 13:26:02 -07:00
parent 6db4d0c468
commit 4de3a4c3d1
46 changed files with 123 additions and 59 deletions

View File

@@ -1,5 +1,10 @@
#include "test/jemalloc_test.h"
extern void ckh_string_hash(const void *key, size_t r_hash[2]);
extern bool ckh_string_keycomp(const void *k1, const void *k2);
extern void ckh_pointer_hash(const void *key, size_t r_hash[2]);
extern bool ckh_pointer_keycomp(const void *k1, const void *k2);
TEST_BEGIN(test_new_delete) {
tsd_t *tsd;
ckh_t ckh;