[][src]Macro ruwren::get_slot_checked

macro_rules! get_slot_checked {
    ($vm:expr => num $slot:expr) => { ... };
    ($vm:expr => bool $slot:expr) => { ... };
    ($vm:expr => string $slot:expr) => { ... };
    ($vm:expr => bytes $slot:expr) => { ... };
}

Checks if the slot type is correct at the given slot. If not, will panic. If it is, will return the item at the given slot.