xref: /netbsd-src/external/bsd/jemalloc.old/dist/src/hooks.c (revision 8e33eff89e26cf71871ead62f0d5063e1313c33a)
1*8e33eff8Schristos #include "jemalloc/internal/jemalloc_preamble.h"
2*8e33eff8Schristos 
3*8e33eff8Schristos /*
4*8e33eff8Schristos  * The hooks are a little bit screwy -- they're not genuinely exported in the
5*8e33eff8Schristos  * sense that we want them available to end-users, but we do want them visible
6*8e33eff8Schristos  * from outside the generated library, so that we can use them in test code.
7*8e33eff8Schristos  */
8*8e33eff8Schristos JEMALLOC_EXPORT
9*8e33eff8Schristos void (*hooks_arena_new_hook)(void) = NULL;
10*8e33eff8Schristos 
11*8e33eff8Schristos JEMALLOC_EXPORT
12*8e33eff8Schristos void (*hooks_libc_hook)(void) = NULL;
13