Bullet Collision Detection & Physics Library
Classes | Macros | Functions | Variables
btGenericPoolAllocator.cpp File Reference
#include "btGenericPoolAllocator.h"
Include dependency graph for btGenericPoolAllocator.cpp:

Go to the source code of this file.

Classes

class  GIM_STANDARD_ALLOCATOR
 

Macros

#define BT_DEFAULT_POOL_SIZE   32768
 ************** STANDARD ALLOCATOR ***************************/// More...
 
#define BT_DEFAULT_POOL_ELEMENT_SIZE   8
 

Functions

void * btPoolAlloc (size_t size)
 
void * btPoolRealloc (void *ptr, size_t oldsize, size_t newsize)
 
void btPoolFree (void *ptr)
 

Variables

GIM_STANDARD_ALLOCATOR g_main_allocator
 

Detailed Description

Author
Francisco Leon Najera. email proje.nosp@m.ctil.nosp@m.eman@.nosp@m.yaho.nosp@m.o.com

General purpose allocator class

Definition in file btGenericPoolAllocator.cpp.

Macro Definition Documentation

#define BT_DEFAULT_POOL_ELEMENT_SIZE   8

Definition at line 251 of file btGenericPoolAllocator.cpp.

#define BT_DEFAULT_POOL_SIZE   32768

************** STANDARD ALLOCATOR ***************************///

Definition at line 250 of file btGenericPoolAllocator.cpp.

Function Documentation

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.

Variable Documentation

GIM_STANDARD_ALLOCATOR g_main_allocator

Definition at line 263 of file btGenericPoolAllocator.cpp.