| 417 | |
| 418 | |
| 419 | static int luaB_pcall (lua_State *L) { |
| 420 | int status; |
| 421 | luaL_checkany(L, 1); |
| 422 | lua_pushboolean(L, 1); /* first result if no errors */ |
| 423 | lua_insert(L, 1); /* put it in place */ |
| 424 | status = lua_pcallk(L, lua_gettop(L) - 2, LUA_MULTRET, 0, 0, finishpcall); |
| 425 | return finishpcall(L, status, 0); |
| 426 | } |
| 427 | |
| 428 | |
| 429 | /* |
nothing calls this directly
no test coverage detected