pub type mrb_func_t = Option<unsafe extern "C" fn(mrb: *mut mrb_state, self_: mrb_value) -> mrb_value>;Expand description
Function pointer type for a function callable by mruby.
The arguments to the function are stored on the mrb_state. To get them see mrb_get_args
@param mrb The mruby state @param self The self object @return mrb_value The function’s return value
Aliased Type§
pub enum mrb_func_t {
None,
Some(unsafe extern "C" fn(*mut mrb_state, mrb_value) -> mrb_value),
}