public int RemoveHook() { if (Disposed) { return(-1); } return(LuaCore.SetHook(Runtime.State, 0, 0)); }
public int SetHook(EventMasks mask, int count) { if (Disposed) { return(-1); } return(LuaCore.SetHook(Runtime.State, mask, count)); }