Bullet Collision Detection & Physics Library
|
#include <limits.h>
#include <stdio.h>
#include <string.h>
#include "LinearMath/btAlignedAllocator.h"
Go to the source code of this file.
Classes | |
class | btGenericMemoryPool |
Generic Pool class. More... | |
class | btGenericPoolAllocator |
Generic Allocator with pools. More... | |
Macros | |
#define | BT_UINT_MAX UINT_MAX |
#define | BT_DEFAULT_MAX_POOLS 16 |
Functions | |
void * | btPoolAlloc (size_t size) |
void * | btPoolRealloc (void *ptr, size_t oldsize, size_t newsize) |
void | btPoolFree (void *ptr) |
General purpose allocator class
Definition in file btGenericPoolAllocator.h.
#define BT_DEFAULT_MAX_POOLS 16 |
Definition at line 30 of file btGenericPoolAllocator.h.
#define BT_UINT_MAX UINT_MAX |
Definition at line 29 of file btGenericPoolAllocator.h.
void* btPoolAlloc | ( | size_t | size | ) |
Definition at line 266 of file btGenericPoolAllocator.cpp.
void btPoolFree | ( | void * | ptr | ) |
Definition at line 280 of file btGenericPoolAllocator.cpp.
void* btPoolRealloc | ( | void * | ptr, |
size_t | oldsize, | ||
size_t | newsize | ||
) |
Definition at line 271 of file btGenericPoolAllocator.cpp.