Lua 的异常应该由 lua_pcall 或 lua_resume 来捕获,所以当你调用C API 的时候,应该确保在C 的调用层次上,处于某次 lua_pcall 或 lua_resume 中。
確定! 回上一頁