| 11196 | |
| 11197 | |
| 11198 | static int luaB_assert (lua_State *L) { |
| 11199 | luaL_checkany(L, 1); |
| 11200 | if (!lua_toboolean(L, 1)) |
| 11201 | return luaL_error(L, "%s", luaL_optstring(L, 2, "assertion failed!")); |
| 11202 | return lua_gettop(L); |
| 11203 | } |
| 11204 | |
| 11205 | |
| 11206 | static int luaB_unpack (lua_State *L) { |
nothing calls this directly
no test coverage detected