13 void luat_heap_init(void);
14 void* luat_heap_malloc(size_t len
);
15 void luat_heap_free(void* ptr
);
16 void* luat_heap_realloc(void* ptr
, size_t len
);
17 void* luat_heap_calloc(size_t count
, size_t _size
);
18 void* luat_heap_zalloc(size_t _size
);
20 //size_t luat_heap_getfree(void);
22 void* luat_heap_alloc(void *ud
, void *ptr
, size_t osize
, size_t nsize
);
25 void luat_meminfo_luavm(size_t* total
, size_t* used
, size_t* max_used
);
26 void luat_meminfo_sys(size_t* total
, size_t* used
, size_t* max_used
);