incralloc.h
MudOS_0.9.18/src/incralloc.h · 287 B
From the archive MudOS_0.9.18.tar.gz
Download the archive « Back to the archive contents
/*
* Information for allocating a block that can grow dynamically
* using realloc. That means that no pointers should be kept into such
* an area, as it might be moved.
*/
struct mem_block {
char *block;
int current_size;
int max_size;
};
#define START_BLOCK_SIZE 4096