| 792 | |
| 793 | namespace { |
| 794 | int safecall_cont(lua_State *L, int status, lua_KContext) |
| 795 | { |
| 796 | bool success = do_finish_pcall(L, Lua::IsSuccess(status)); |
| 797 | |
| 798 | if (!success) |
| 799 | report_error(L); |
| 800 | |
| 801 | return lua_gettop(L); |
| 802 | } |
| 803 | } |
| 804 | |
| 805 | static int dfhack_safecall (lua_State *L) |
nothing calls this directly
no test coverage detected