Type Definition lua_Alloc
luajit2_sys
type lua_Alloc = Option<unsafe extern "C" fn(ud: *mut c_void, ptr: *mut c_void, osize: usize, nsize: usize) -> *mut c_void>;
https://www.lua.org/manual/5.1/manual.html#lua_Alloc