Fixed interface issues
This commit is contained in:
1 parent
8d8fa7d02b
commit
62c1efbcf7
3 files changed
+34
-36
No files matched your search
@@ -1,9 +1,5 @@
|
||||
#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
|
||||
@@ -13,3 +9,37 @@ world int 255:wmemory[];
|
||||
#define malloc_num_header_properties 4
|
||||
#define p_malloc_init_flag_location 0
|
||||
#define p_malloc_first_header_location 1
|
||||
|
||||
|
||||
global int 63:gmemory[];
|
||||
|
||||
//[Z] The reason I do it like this is because whoever made the acc is insane.
|
||||
#define gnullptr 0
|
||||
|
||||
#define gmalloc_allocated 0
|
||||
#define gmalloc_size 1
|
||||
#define gmalloc_next_header 2
|
||||
#define gmalloc_prev_header 3
|
||||
#define gmalloc_num_header_properties 4
|
||||
|
||||
#define gp_malloc_init_flag_location 0
|
||||
#define gp_malloc_first_header_location 1
|
||||
function int gmalloc (int size) {return 0;}
|
||||
function int gfree (int p_ptr) {return 0;}
|
||||
|
||||
|
||||
world int 255:wmemory[];
|
||||
|
||||
//[Z] The reason I do it like this is because whoever made the acc is insane.
|
||||
#define wnullptr 0
|
||||
|
||||
#define wmalloc_allocated 0
|
||||
#define wmalloc_size 1
|
||||
#define wmalloc_next_header 2
|
||||
#define wmalloc_prev_header 3
|
||||
#define wmalloc_num_header_properties 4
|
||||
|
||||
#define wp_malloc_init_flag_location 0
|
||||
#define wp_malloc_first_header_location 1
|
||||
function int wmalloc (int size) {return 0;}
|
||||
function int wfree (int p_ptr) {return 0;}
|
||||
@@ -1,16 +0,0 @@
|
||||
|
||||
global int 63:gmemory[];
|
||||
|
||||
//[Z] The reason I do it like this is because whoever made the acc is insane.
|
||||
#define gnullptr 0
|
||||
|
||||
#define gmalloc_allocated 0
|
||||
#define gmalloc_size 1
|
||||
#define gmalloc_next_header 2
|
||||
#define gmalloc_prev_header 3
|
||||
#define gmalloc_num_header_properties 4
|
||||
|
||||
#define gp_malloc_init_flag_location 0
|
||||
#define gp_malloc_first_header_location 1
|
||||
function int gmalloc (int size) {return 0;}
|
||||
function int gfree (int p_ptr) {return 0;}
|
||||
@@ -1,16 +0,0 @@
|
||||
|
||||
world int 255:wmemory[];
|
||||
|
||||
//[Z] The reason I do it like this is because whoever made the acc is insane.
|
||||
#define wnullptr 0
|
||||
|
||||
#define wmalloc_allocated 0
|
||||
#define wmalloc_size 1
|
||||
#define wmalloc_next_header 2
|
||||
#define wmalloc_prev_header 3
|
||||
#define wmalloc_num_header_properties 4
|
||||
|
||||
#define wp_malloc_init_flag_location 0
|
||||
#define wp_malloc_first_header_location 1
|
||||
function int wmalloc (int size) {return 0;}
|
||||
function int wfree (int p_ptr) {return 0;}
|
||||
Reference in new issue
Block a user