mrb_open_core

Function mrb_open_core 

Source
pub unsafe extern "C" fn mrb_open_core(
    f: mrb_allocf,
    ud: *mut c_void,
) -> *mut mrb_state
Expand description

Create new mrb_state with just the MRuby core

@param f Reference to the allocation function. Use mrb_default_allocf for the default @param ud User data will be passed to custom allocator f. If user data isn’t required just pass NULL. @return Pointer to the newly created mrb_state.