You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
409 B
15 lines
409 B
#library "ZMEMORY" |
|
#include "zcommon.acs" |
|
#include "ZMEMORY_g.acs" |
|
#include "ZMEMORY_w.acs" |
|
global int 63:gmemory[]; |
|
world int 255:wmemory[]; |
|
#libdefine nullptr 0 |
|
//#define nullptr 0 |
|
#define malloc_allocated 0 |
|
#define malloc_size 1 |
|
#define malloc_next_header 2 |
|
#define malloc_prev_header 3 |
|
#define malloc_num_header_properties 4 |
|
#define p_malloc_init_flag_location 0 |
|
#define p_malloc_first_header_location 1
|
|
|