| 340 | |
| 341 | |
| 342 | static int luaB_assert (lua_State *L) { |
| 343 | luaL_checkany(L, 1); |
| 344 | if (!lua_toboolean(L, 1)) |
| 345 | return luaL_error(L, "%s", luaL_optstring(L, 2, "assertion failed!")); |
| 346 | return lua_gettop(L); |
| 347 | } |
| 348 | |
| 349 | |
| 350 | static int luaB_unpack (lua_State *L) { |
nothing calls this directly
no test coverage detected