xref: /netbsd-src/external/bsd/jemalloc.old/include/jemalloc/jemalloc_rename.h (revision 8e33eff89e26cf71871ead62f0d5063e1313c33a)
1 /*
2  * Name mangling for public symbols is controlled by --with-mangling and
3  * --with-jemalloc-prefix.  With default settings the je_ prefix is stripped by
4  * these macro definitions.
5  */
6 #ifndef JEMALLOC_NO_RENAME
7 #  define je_aligned_alloc aligned_alloc
8 #  define je_calloc calloc
9 #  define je_dallocx dallocx
10 #  define je_free free
11 #  define je_mallctl mallctl
12 #  define je_mallctlbymib mallctlbymib
13 #  define je_mallctlnametomib mallctlnametomib
14 #  define je_malloc malloc
15 #  define je_malloc_conf malloc_conf
16 #  define je_malloc_message malloc_message
17 #  define je_malloc_stats_print malloc_stats_print
18 #  define je_malloc_usable_size malloc_usable_size
19 #  define je_mallocx mallocx
20 #  define je_nallocx nallocx
21 #  define je_posix_memalign posix_memalign
22 #  define je_rallocx rallocx
23 #  define je_realloc realloc
24 #  define je_sallocx sallocx
25 #  define je_sdallocx sdallocx
26 #  define je_xallocx xallocx
27 #  define je_valloc valloc
28 #endif
29