struct gtg_memory * gtg_memory_t
Definition: GTGMemory.h:28
void * gtg_block_malloc(gtg_memory_t memory)
Allocate a block of data.
void gtg_block_memory_init(gtg_memory_t *memory, size_t block_size, long initial_block_number)
Initialize the allocator.
void gtg_block_free(gtg_memory_t memory, void *ptr)
Free a block of data.
Definition: GTGMemory.h:19
long nb_allocated
Definition: GTGMemory.h:26
void * current_mem
Definition: GTGMemory.h:21
long mem_len
Definition: GTGMemory.h:23
void * first_mem
Definition: GTGMemory.h:20
size_t block_len
Definition: GTGMemory.h:22
long first_new
Definition: GTGMemory.h:25
void * first_free
Definition: GTGMemory.h:24