pub fn lua_setallocf(l: LuaState, f: LuaAlloc, ud: *mut c_void)
Changes the allocator function of a given state to f with user data ud.