ackb2d 0.9
3D Gamestudio Box 2d Wraper
|
00001 #ifndef __B2_BLOCK_ALLOCATOR_H__ 00002 #define __B2_BLOCK_ALLOCATOR_H__ 00003 00005 b2BlockAllocator *b2BlockAllocator_Create(); 00006 00008 void b2BlockAllocator_Destroy(b2BlockAllocator *allocator); 00009 00011 void* b2BlockAllocator_Allocate(b2BlockAllocator *allocator, int size); 00012 00014 void b2BlockAllocator_Free(b2BlockAllocator *allocator, void* p, int size); 00015 00017 void b2BlockAllocator_Clear(b2BlockAllocator *allocator); 00018 00019 #endif // __B2_BLOCK_ALLOCATOR_H__