2017-04-11 09:17:55 +08:00
|
|
|
#include "jemalloc/internal/jemalloc_preamble.h"
|
2017-03-29 08:30:54 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* The hooks are a little bit screwy -- they're not genuinely exported in the
|
|
|
|
* sense that we want them available to end-users, but we do want them visible
|
|
|
|
* from outside the generated library, so that we can use them in test code.
|
|
|
|
*/
|
|
|
|
JEMALLOC_EXPORT
|
2018-04-10 09:09:34 +08:00
|
|
|
void (*test_hooks_arena_new_hook)() = NULL;
|
2017-03-29 08:30:54 +08:00
|
|
|
|
|
|
|
JEMALLOC_EXPORT
|
2018-04-10 09:09:34 +08:00
|
|
|
void (*test_hooks_libc_hook)() = NULL;
|