84 void *used_ptr =
reinterpret_cast<void *
>(
86 ~(
static_cast<uintptr_t>(alignment) - 1));
89 (
static_cast<MemHead *
>(used_ptr) - 1)->offset = offset;
96 int offset = -head->offset;
void BLI_kdtree_nd_() free(KDTree *tree)
MINLINE int is_power_of_2_i(int n)
#define POINTER_OFFSET(v, ofs)
Read Guarded memory(de)allocation.
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
void * allocate(size_t size, size_t alignment, const char *name)
void deallocate(void *ptr)
void deallocate(void *ptr)
void * allocate(size_t size, size_t alignment, const char *UNUSED(name))
void(* MEM_freeN)(void *vmemh)
void *(* MEM_mallocN_aligned)(size_t len, size_t alignment, const char *str)
_W64 unsigned int uintptr_t