| 332 | |
| 333 | |
| 334 | static int luaB_assert (lua_State *L) { |
| 335 | luaL_checkany(L, 1); |
| 336 | if (!lua_toboolean(L, 1)) |
| 337 | return luaL_error(L, "%s", luaL_optstring(L, 2, "assertion failed!")); |
| 338 | return lua_gettop(L); |
| 339 | } |
| 340 | |
| 341 | |
| 342 | static int luaB_unpack (lua_State *L) { |
nothing calls this directly
no test coverage detected