111 size_t copysize = oldsize < newsize ? oldsize : newsize;
126#ifdef GIM_SIMD_MEMORY
#define btAlignedFree(ptr)
#define btAlignedAlloc(size, alignment)
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
void gim_set_free_handler(gim_free_function *fn)
void * gim_alloc(size_t size)
Standar Memory functions.
void * gim_realloc(void *ptr, size_t oldsize, size_t newsize)
static gim_free_function * g_freefn
gim_alloc_function * gim_get_alloc_handler()
get current memory management functions.
static gim_realloc_function * g_reallocfn
gim_alloca_function * gim_get_alloca_handler()
gim_realloc_function * gim_get_realloc_handler()
void gim_set_alloca_handler(gim_alloca_function *fn)
gim_free_function * gim_get_free_handler()
void gim_set_alloc_handler(gim_alloc_function *fn)
Memory Function Handlers set new memory management functions.
static gim_alloc_function * g_allocfn
void * gim_alloca(size_t size)
static gim_alloca_function * g_allocafn
void gim_set_realloc_handler(gim_realloc_function *fn)
void * gim_realloc_function(void *ptr, size_t oldsize, size_t newsize)
void gim_simd_memcpy(void *dst, const void *src, size_t copysize)
void * gim_alloca_function(size_t size)
void * gim_alloc_function(size_t size)
Function prototypes to allocate and free memory.
void gim_free_function(void *ptr)