Comment by shakna
1 day ago
Lua lets you set the allocator, so you don't have to manage the lifetime.
void lua_setallocf (lua_State *L, lua_Alloc f, void *ud);
1 day ago
Lua lets you set the allocator, so you don't have to manage the lifetime.
void lua_setallocf (lua_State *L, lua_Alloc f, void *ud);
No comments yet
Contribute on Hacker News ↗