Type Alias lua_Alloc

Source
pub type lua_Alloc = Option<unsafe extern "C" fn(ud: *mut c_void, ptr: *mut c_void, osize: usize, nsize: usize) -> *mut c_void>;

Aliased Type§

enum lua_Alloc {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: usize, _: usize) -> *mut c_void),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *mut c_void, _: usize, _: usize) -> *mut c_void)

Some value of type T.