Classes | Defines | 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

Defines

#define BT_DEFAULT_POOL_SIZE   32768
 ************** STANDARD ALLOCATOR ***************************///
#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 projectileman@yahoo.com

General purpose allocator class

Definition in file btGenericPoolAllocator.cpp.


Define 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

Definition at line 263 of file btGenericPoolAllocator.cpp.