ackb2d 0.9
3D Gamestudio Box 2d Wraper

b2StackAllocator.h

Go to the documentation of this file.
00001 #ifndef __B2_STACK_ALLOCATOR_H__
00002 #define __B2_STACK_ALLOCATOR_H__
00003 
00005 b2StackAllocator *b2StackAllocator_Create();
00006 
00008 void b2StackAllocator_Destroy(b2StackAllocator *allocator);
00009 
00011 void* b2StackAllocator_Allocate(b2StackAllocator *allocator, int size);
00012 
00014 void b2StackAllocator_Free(b2StackAllocator *allocator, void* p);
00015 
00017 int b2StackAllocator_GetMaxAllocation(b2StackAllocator *allocator);
00018 
00019 #endif // __B2_STACK_ALLOCATOR_H__
 All Data Structures Files Functions Variables Typedefs Defines