lua_setallocf

Function lua_setallocf 

Source
pub fn lua_setallocf(l: LuaState, f: LuaAlloc, ud: *mut c_void)
Expand description

Changes the allocator function of a given state to f with user data ud.