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) NONBANKED | 
![]()  | ![]()  | Garbage collect (join free hunks). | |
![]()  | ![]()  | void | debug ( char *routine, char *msg ) NONBANKED | 
![]()  | ![]()  | 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
 1.0.0 written by Dimitri van Heesch,
 © 1997-1999