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

btStackAlloc Class Reference

#include <btStackAlloc.h>

List of all members.

Detailed Description

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

Definition at line 34 of file btStackAlloc.h.

Public Member Functions

unsigned char * allocate (unsigned int size)
SIMD_FORCE_INLINE btBlockbeginBlock ()
 btStackAlloc (unsigned int size)
void create (unsigned int size)
void destroy ()
SIMD_FORCE_INLINE void endBlock (btBlock *block)
int getAvailableMemory () const

Private Member Functions

void ctor ()

Private Attributes

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