Compounds | |||
struct | smalloc_hunk | ||
Defines | |||
#define | MALLOC_FREE | ||
The malloc hunk flags Note: Cound have used a negative size a'la TI. | |||
#define | MALLOC_MAGIC | ||
Magic number of a header. More... | |||
Typedefs | |||
typedef struct smalloc_hunk | mmalloc_hunk | ||
Functions | |||
void | malloc_gc (void) | ||
Garbage collect (join free hunks). | |||
void | debug ( char *routine, char *msg ) | ||
debug message logger. | |||
Variables | |||
struct smalloc_hunk* | pmmalloc_hunk | ||
UBYTE | malloc_heap_start | ||
Start of free memory, as defined by the linker. | |||
pmmalloc_hunk | malloc_first | ||
First hunk. |
This library may currently be broken.
#define MALLOC_MAGIC () |
Magic number of a header.
Gives us some chance of surviving if the list is corrupted