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

  1. #library "ZMEMORY"
  2. #include "zcommon.acs"
  3. #include "ZMEMORY_g.acs"
  4. #include "ZMEMORY_w.acs"
  5. global int 63:gmemory[];
  6. world int 255:wmemory[];
  7. #libdefine nullptr 0
  8. //#define nullptr 0
  9. #define malloc_allocated 0
  10. #define malloc_size 1
  11. #define malloc_next_header 2
  12. #define malloc_prev_header 3
  13. #define malloc_num_header_properties 4
  14. #define p_malloc_init_flag_location 0
  15. #define p_malloc_first_header_location 1