44 inline void create(
unsigned int size)
67 return static_cast<int>(totalsize - usedsize);
72 const unsigned int nus(usedsize + size);
76 return (data + (usedsize - size));
98 usedsize = (
unsigned int)((block->
address - data) -
sizeof(
btBlock));
112 unsigned int totalsize;
113 unsigned int usedsize;
BMesh const char void * data
#define btAlignedFree(ptr)
#define btAlignedAlloc(size, alignment)
#define SIMD_FORCE_INLINE
SIMD_FORCE_INLINE void endBlock(btBlock *block)
void create(unsigned int size)
btStackAlloc(unsigned int size)
unsigned char * allocate(unsigned int size)
int getAvailableMemory() const
SIMD_FORCE_INLINE btBlock * beginBlock()
The btBlock class is an internal structure for the btStackAlloc memory allocator.