artichoke_backend::sys

Type Alias mrb_each_object_callback

Source
pub type mrb_each_object_callback = Option<unsafe extern "C" fn(mrb: *mut mrb_state, obj: *mut RBasic, data: *mut c_void) -> c_int>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.