#pragma once /* TODO: simplest possible arena implementation, a fixed memory size * and allocated memory is returned in sequence from the pool. * deallocation does nothing but invalidating the pointer */ enum { ARENA_SIZE = 65535 }; void *allocate( int size ); void deallocate( void **p );