[][src]Macro artichoke_backend::unwrap_interpreter

macro_rules! unwrap_interpreter {
    ($mrb:expr, or_else = ()) => { ... };
    ($mrb:expr, or_else = $default:expr) => { ... };
    ($mrb:expr) => { ... };
}

Extract an Artichoke instance from the userdata on a [sys::mrb_state].

If there is an error when extracting the Rust wrapper around the interpreter, return nil.

This macro is unsafe.