19 #ifndef B2_STACK_ALLOCATOR_H
20 #define B2_STACK_ALLOCATOR_H
24 const int32 b2_stackSize = 100 * 1024;
25 const int32 b2_maxStackEntries = 32;
43 void* Allocate(int32 size);
46 int32 GetMaxAllocation()
const;
50 char m_data[b2_stackSize];
54 int32 m_maxAllocation;
56 b2StackEntry m_entries[b2_maxStackEntries];