Bullet Collision Detection & Physics Library: btGenericPoolAllocator.cpp File Reference

Bullet Collision Detection & Physics Library

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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 ***************************‍///
#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

## ◆ BT_DEFAULT_POOL_ELEMENT_SIZE

#define BT_DEFAULT_POOL_ELEMENT_SIZE 8

Definition at line 235 of file btGenericPoolAllocator.cpp.

## ◆ BT_DEFAULT_POOL_SIZE

#define BT_DEFAULT_POOL_SIZE 32768

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

Definition at line 234 of file btGenericPoolAllocator.cpp.

## Function Documentation

## ◆ btPoolAlloc()

void * btPoolAlloc | ( | size_t | size | ) |

Definition at line 249 of file btGenericPoolAllocator.cpp.

## ◆ btPoolFree()

void btPoolFree | ( | void * | ptr | ) |

Definition at line 263 of file btGenericPoolAllocator.cpp.

## ◆ btPoolRealloc()

void * btPoolRealloc | ( | void * | ptr,
|  | size_t | oldsize,
|  | size_t | newsize )

Definition at line 254 of file btGenericPoolAllocator.cpp.

## Variable Documentation

## ◆ g_main_allocator

GIM_STANDARD_ALLOCATOR g_main_allocator

Definition at line 247 of file btGenericPoolAllocator.cpp.