diff options
author | Jason Evans <je@fb.com> | 2012-03-01 17:19:20 -0800 |
---|---|---|
committer | Jason Evans <je@fb.com> | 2012-03-01 17:19:20 -0800 |
commit | 0a5489e37da88a1a50fbf8552e0d3a7f8fd93ffc (patch) | |
tree | bc3ee548220bc90b98892c59dd5a5dbe546f465e /include/jemalloc/internal/ctl.h | |
parent | 166a745b395198c2b0d661caa717e6a9400291c6 (diff) | |
download | jemalloc-0a5489e37da88a1a50fbf8552e0d3a7f8fd93ffc.tar.gz |
Add --with-mangling.
Add the --with-mangling configure option, which can be used to specify
name mangling on a per public symbol basis that takes precedence over
--with-jemalloc-prefix.
Expose the memalign() and valloc() overrides even if
--with-jemalloc-prefix is specified. This change does no real harm, and
simplifies the code.
Diffstat (limited to 'include/jemalloc/internal/ctl.h')
-rw-r--r-- | include/jemalloc/internal/ctl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/jemalloc/internal/ctl.h b/include/jemalloc/internal/ctl.h index 28be2ae..8f72f7f 100644 --- a/include/jemalloc/internal/ctl.h +++ b/include/jemalloc/internal/ctl.h @@ -74,7 +74,7 @@ int ctl_bymib(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, bool ctl_boot(void); #define xmallctl(name, oldp, oldlenp, newp, newlen) do { \ - if (JEMALLOC_P(mallctl)(name, oldp, oldlenp, newp, newlen) \ + if (je_mallctl(name, oldp, oldlenp, newp, newlen) \ != 0) { \ malloc_write("<jemalloc>: Failure in xmallctl(\""); \ malloc_write(name); \ @@ -84,7 +84,7 @@ bool ctl_boot(void); } while (0) #define xmallctlnametomib(name, mibp, miblenp) do { \ - if (JEMALLOC_P(mallctlnametomib)(name, mibp, miblenp) != 0) { \ + if (je_mallctlnametomib(name, mibp, miblenp) != 0) { \ malloc_write( \ "<jemalloc>: Failure in xmallctlnametomib(\""); \ malloc_write(name); \ @@ -94,7 +94,7 @@ bool ctl_boot(void); } while (0) #define xmallctlbymib(mib, miblen, oldp, oldlenp, newp, newlen) do { \ - if (JEMALLOC_P(mallctlbymib)(mib, miblen, oldp, oldlenp, newp, \ + if (je_mallctlbymib(mib, miblen, oldp, oldlenp, newp, \ newlen) != 0) { \ malloc_write( \ "<jemalloc>: Failure in xmallctlbymib()\n"); \ |