示例#1
0
 public void RemoveHook()
 {
     BBLua.lua_sethook(this.ls.L, this.debugHook, LuaHookType.Nothing, 0);
 }
示例#2
0
 public void SetHook()
 {
     BBLua.lua_sethook(this.ls.L, this.debugHook, LuaHookType.Line | LuaHookType.Call | LuaHookType.Return, 0);
 }