6 #include <picofuse/sys.h> 27 sys_mem_arena_t *_arena;
46 + (
id)zoneWithSize:(
size_t)size;
60 - (
void *)allocWithSize:(
size_t)size;
67 - (void)free:(
void *)ptr;
size_t bytesFree()
Returns the number of bytes which aren't allocated.
void dealloc()
Frees the zone and its memory.
NXZone * defaultZone()
Returns the default zone.
A region of memory, from which objects and other memory can be allocated.
size_t bytesUsed()
Returns the number of bytes which are allocated.
size_t bytesTotal()
Returns the capacity of the zone in bytes.
The base class for objects in the Foundation framework.
struct objc_object * id
A pointer to an instance of a class.
size_t count()
Returns the number of blocks of memory which are allocated.