diff options
Diffstat (limited to 'deps/jemalloc/include/jemalloc/internal/jemalloc_internal_macros.h')
-rw-r--r-- | deps/jemalloc/include/jemalloc/internal/jemalloc_internal_macros.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_macros.h b/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_macros.h deleted file mode 100644 index ed75d3768..000000000 --- a/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_macros.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef JEMALLOC_INTERNAL_MACROS_H -#define JEMALLOC_INTERNAL_MACROS_H - -#ifdef JEMALLOC_DEBUG -# define JEMALLOC_ALWAYS_INLINE static inline -#else -# define JEMALLOC_ALWAYS_INLINE JEMALLOC_ATTR(always_inline) static inline -#endif -#ifdef _MSC_VER -# define inline _inline -#endif - -#define UNUSED JEMALLOC_ATTR(unused) - -#define ZU(z) ((size_t)z) -#define ZD(z) ((ssize_t)z) -#define QU(q) ((uint64_t)q) -#define QD(q) ((int64_t)q) - -#define KZU(z) ZU(z##ULL) -#define KZD(z) ZD(z##LL) -#define KQU(q) QU(q##ULL) -#define KQD(q) QI(q##LL) - -#ifndef __DECONST -# define __DECONST(type, var) ((type)(uintptr_t)(const void *)(var)) -#endif - -#if !defined(JEMALLOC_HAS_RESTRICT) || defined(__cplusplus) -# define restrict -#endif - -/* Various function pointers are statick and immutable except during testing. */ -#ifdef JEMALLOC_JET -# define JET_MUTABLE -#else -# define JET_MUTABLE const -#endif - -#define JEMALLOC_VA_ARGS_HEAD(head, ...) head -#define JEMALLOC_VA_ARGS_TAIL(head, ...) __VA_ARGS__ - -#endif /* JEMALLOC_INTERNAL_MACROS_H */ |