Skip to main content

set_hook

Function set_hook 

Source
pub fn set_hook(
    state: &mut LuaState,
    func: Option<Box<dyn FnMut(&mut LuaState, &LuaDebug)>>,
    mask: i32,
    count: i32,
)
Expand description

Installs a debug hook on thread state.