Logo Search packages:      
Sourcecode: blender version File versions  Download package

btStackAlloc Class Reference

#include <btStackAlloc.h>

List of all members.

Detailed Description

StackAlloc provides some fast stack-based memory allocator (LIFO last-in first-out).

Definition at line 32 of file btStackAlloc.h.

Public Member Functions

unsigned char * allocate (unsigned int size)
btBlock * beginBlock ()
 btStackAlloc (unsigned int size)
void create (unsigned int size)
void destroy ()
void endBlock (btBlock *block)

Private Member Functions

void ctor ()

Private Attributes

btBlock * current
unsigned char * data
bool ischild
unsigned int totalsize
unsigned int usedsize

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index