incralloc.h
./driver3.2@242/incralloc.h · 287 B
From the archive driver3.2@242.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 2048