|
Blender
V3.3
|
The StackAlloc class provides some fast stack-based memory allocator (LIFO last-in first-out) More...
#include <btStackAlloc.h>
Public Member Functions | |
| btStackAlloc (unsigned int size) | |
| ~btStackAlloc () | |
| void | create (unsigned int size) |
| void | destroy () |
| int | getAvailableMemory () const |
| unsigned char * | allocate (unsigned int size) |
| SIMD_FORCE_INLINE btBlock * | beginBlock () |
| SIMD_FORCE_INLINE void | endBlock (btBlock *block) |
The StackAlloc class provides some fast stack-based memory allocator (LIFO last-in first-out)
Definition at line 34 of file btStackAlloc.h.
|
inline |
Definition at line 37 of file btStackAlloc.h.
|
inline |
Definition at line 42 of file btStackAlloc.h.
References destroy().
|
inline |
Definition at line 70 of file btStackAlloc.h.
References btAssert, and size().
Referenced by beginBlock().
|
inline |
Definition at line 83 of file btStackAlloc.h.
References btBlock::address, allocate(), and btBlock::previous.
|
inline |
Definition at line 44 of file btStackAlloc.h.
References btAlignedAlloc, destroy(), and size().
Referenced by btStackAlloc().
|
inline |
Definition at line 50 of file btStackAlloc.h.
References btAlignedFree, and btAssert.
Referenced by create(), and ~btStackAlloc().
|
inline |
Definition at line 91 of file btStackAlloc.h.
References btBlock::address, btAssert, and btBlock::previous.
|
inline |
Definition at line 65 of file btStackAlloc.h.