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.

16 lines
445 B

  1. global int 63:gmemory[];
  2. //[Z] The reason I do it like this is because whoever made the acc is insane.
  3. #define gnullptr 0
  4. #define gmalloc_allocated 0
  5. #define gmalloc_size 1
  6. #define gmalloc_next_header 2
  7. #define gmalloc_prev_header 3
  8. #define gmalloc_num_header_properties 4
  9. #define gp_malloc_init_flag_location 0
  10. #define gp_malloc_first_header_location 1
  11. function int gmalloc (int size) {return 0;}
  12. function int gfree (int p_ptr) {return 0;}