pub type lua_Alloc = Option<unsafe extern "C" fn(ud: *mut c_void, ptr: *mut c_void, osize: size_t, nsize: size_t) -> *mut c_void>;
Expand description
Type for memory-allocation functions.
Aliased Type§
enum lua_Alloc {
None,
Some(unsafe extern "C" fn(*mut c_void, *mut c_void, usize, usize) -> *mut c_void),
}