mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 20:24:07 +00:00
9cd5228df2
* Added jemalloc as submodule [#CLICKHOUSE-2] * Imported jemalloc-cmake [#CLICKHOUSE-2] * Added README for jemalloc-cmake [#CLICKHOUSE-2] * Trying to add jemalloc [#CLICKHOUSE-2] * Trying to add jemalloc [#CLICKHOUSE-2] * Trying to add jemalloc [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2] * Add support for jemalloc: development [#CLICKHOUSE-2]
30 lines
972 B
C++
30 lines
972 B
C++
/*
|
|
* Name mangling for public symbols is controlled by --with-mangling and
|
|
* --with-jemalloc-prefix. With default settings the je_ prefix is stripped by
|
|
* these macro definitions.
|
|
*/
|
|
#ifndef JEMALLOC_NO_RENAME
|
|
# define je_aligned_alloc aligned_alloc
|
|
# define je_calloc calloc
|
|
# define je_dallocx dallocx
|
|
# define je_free free
|
|
# define je_mallctl mallctl
|
|
# define je_mallctlbymib mallctlbymib
|
|
# define je_mallctlnametomib mallctlnametomib
|
|
# define je_malloc malloc
|
|
# define je_malloc_conf malloc_conf
|
|
# define je_malloc_message malloc_message
|
|
# define je_malloc_stats_print malloc_stats_print
|
|
# define je_malloc_usable_size malloc_usable_size
|
|
# define je_mallocx mallocx
|
|
# define je_nallocx nallocx
|
|
# define je_posix_memalign posix_memalign
|
|
# define je_rallocx rallocx
|
|
# define je_realloc realloc
|
|
# define je_sallocx sallocx
|
|
# define je_sdallocx sdallocx
|
|
# define je_xallocx xallocx
|
|
# define je_memalign memalign
|
|
# define je_valloc valloc
|
|
#endif
|