luajit2_sys
pub unsafe extern "C" fn lua_setallocf( L: *mut lua_State, f: lua_Alloc, ud: *mut c_void)
https://www.lua.org/manual/5.1/manual.html#lua_setallocf