| 372 | |
| 373 | |
| 374 | static int luaB_pcall (lua_State *L) { |
| 375 | int status; |
| 376 | luaL_checkany(L, 1); |
| 377 | status = lua_pcall(L, lua_gettop(L) - 1, LUA_MULTRET, 0); |
| 378 | lua_pushboolean(L, (status == 0)); |
| 379 | lua_insert(L, 1); |
| 380 | return lua_gettop(L); /* return status + all results */ |
| 381 | } |
| 382 | |
| 383 | |
| 384 | static int luaB_xpcall (lua_State *L) { |
nothing calls this directly
no test coverage detected