mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-09 15:27:18 +03:00
De-export test-only helpers via JET_EXTERN / #ifdef JEMALLOC_JET; declare in unit tests, not headers
This commit is contained in:
parent
6db4d0c468
commit
4de3a4c3d1
46 changed files with 123 additions and 59 deletions
10
test/include/test/hpdata.h
Normal file
10
test/include/test/hpdata.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#ifndef TEST_HPDATA_H
|
||||
#define TEST_HPDATA_H
|
||||
|
||||
/*
|
||||
* Static in production builds (JET_EXTERN); exported only for the unit tests
|
||||
* that share it (hpdata, psset).
|
||||
*/
|
||||
extern void *hpdata_reserve_alloc(hpdata_t *hpdata, size_t sz);
|
||||
|
||||
#endif /* TEST_HPDATA_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue