pass arguments through to Nucleus memory functions in 1.2 build

This commit is contained in:
Chris Conlon
2018-09-11 09:26:12 -06:00
parent f90b7d6c37
commit 8060deb40a

View File

@ -502,9 +502,9 @@
int type); int type);
extern void nucleus_free(void* ptr, void* heap, int type); extern void nucleus_free(void* ptr, void* heap, int type);
#define XMALLOC(s, h, type) nucleus_malloc #define XMALLOC(s, h, type) nucleus_malloc((s), (h), (type))
#define XREALLOC(p, n, h, t) nucleus_realloc #define XREALLOC(p, n, h, t) nucleus_realloc((p), (n), (h), (t))
#define XFREE(p, h, type) nucleus_free #define XFREE(p, h, type) nucleus_free((p), (h), (type))
#endif #endif
#endif #endif