2014-05-03 13:02:51 +00:00
|
|
|
|
2014-05-27 11:44:56 +00:00
|
|
|
#include "Globals.h"
|
2014-05-21 18:58:48 +00:00
|
|
|
#include "ChunkData.h"
|
2014-05-03 13:02:51 +00:00
|
|
|
|
2014-04-27 19:25:03 +00:00
|
|
|
int main(int argc, char** argv)
|
|
|
|
{
|
2014-06-16 14:12:50 +00:00
|
|
|
class cMockAllocationPool
|
|
|
|
: public cAllocationPool<cChunkData::sChunkSection>
|
|
|
|
{
|
|
|
|
virtual cChunkData::sChunkSection * Allocate()
|
|
|
|
{
|
|
|
|
return new cChunkData::sChunkSection();
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual void Free(cChunkData::sChunkSection * a_Ptr)
|
|
|
|
{
|
|
|
|
delete a_Ptr;
|
|
|
|
}
|
|
|
|
} Pool;
|
|
|
|
cChunkData buffer(Pool);
|
2014-05-03 13:02:51 +00:00
|
|
|
return 0;
|
2014-04-27 19:25:03 +00:00
|
|
|
}
|