Skip to main content

get_hook_installed

Function get_hook_installed 

Source
pub fn get_hook_installed(state: &LuaState) -> bool
Expand description

Returns whether a debug hook function is currently installed.

C’s lua_gethook returns the lua_Hook function pointer itself; a Box<dyn FnMut> cannot be returned by reference the same way, so this reports only presence.