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
|
|
|
|
void (*hooks_arena_new_hook)() = NULL;
|
|
|
|
|
|
|
|
JEMALLOC_EXPORT
|
|
|
|
void (*hooks_libc_hook)() = NULL;
|