pub unsafe extern "C" fn mrb_open_allocf(
f: mrb_allocf,
ud: *mut c_void,
) -> *mut mrb_state
Expand description
Create new mrb_state with custom allocators.
@param f Reference to the allocation function. @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.