forked from wolfSSL/wolfssl
Merge pull request #1828 from cconlon/nucleusfix
Pass arguments through to Nucleus memory functions in 1.2 build
This commit is contained in:
@ -502,9 +502,9 @@
|
||||
int type);
|
||||
extern void nucleus_free(void* ptr, void* heap, int type);
|
||||
|
||||
#define XMALLOC(s, h, type) nucleus_malloc
|
||||
#define XREALLOC(p, n, h, t) nucleus_realloc
|
||||
#define XFREE(p, h, type) nucleus_free
|
||||
#define XMALLOC(s, h, type) nucleus_malloc((s), (h), (type))
|
||||
#define XREALLOC(p, n, h, t) nucleus_realloc((p), (n), (h), (t))
|
||||
#define XFREE(p, h, type) nucleus_free((p), (h), (type))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user