cpython/Include/internal/pycore_obmalloc_init.h

#ifndef Py_INTERNAL_OBMALLOC_INIT_H
#define Py_INTERNAL_OBMALLOC_INIT_H
#ifdef __cplusplus
extern "C" {
#endif

#ifndef Py_BUILD_CORE
#  error "this header requires Py_BUILD_CORE define"
#endif


/****************************************************/
/* the default object allocator's state initializer */

#define PTA(pools, x)
#define PT(p, x)

#define PT_8(p, start)

#if NB_SMALL_SIZE_CLASSES <= 8
#define _obmalloc_pools_INIT
#elif NB_SMALL_SIZE_CLASSES <= 16
#define _obmalloc_pools_INIT
#elif NB_SMALL_SIZE_CLASSES <= 24
#define _obmalloc_pools_INIT
#elif NB_SMALL_SIZE_CLASSES <= 32
#define _obmalloc_pools_INIT(p)
#elif NB_SMALL_SIZE_CLASSES <= 40
#define _obmalloc_pools_INIT
#elif NB_SMALL_SIZE_CLASSES <= 48
#define _obmalloc_pools_INIT
#elif NB_SMALL_SIZE_CLASSES <= 56
#define _obmalloc_pools_INIT
#elif NB_SMALL_SIZE_CLASSES <= 64
#define _obmalloc_pools_INIT
#else
#  error "NB_SMALL_SIZE_CLASSES should be less than 64"
#endif

#define _obmalloc_global_state_INIT


#ifdef __cplusplus
}
#endif
#endif  // !Py_INTERNAL_OBMALLOC_INIT_H