| 766 | } |
| 767 | |
| 768 | static void push_simple_error(lua_State *L, const char *str) |
| 769 | { |
| 770 | lua_pushstring(L, str); |
| 771 | |
| 772 | if (lua_checkstack(L, LUA_MINSTACK)) |
| 773 | convert_to_exception(L, 0); |
| 774 | } |
| 775 | |
| 776 | static bool do_finish_pcall(lua_State *L, bool success, int base = 1, int space = 2) |
| 777 | { |
no test coverage detected