artichoke_backend::sys

Type Alias mrb_allocf

Source
pub type mrb_allocf = Option<unsafe extern "C" fn(mrb: *mut mrb_state, arg1: *mut c_void, arg2: usize, ud: *mut c_void) -> *mut c_void>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.