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