| 470 | |
| 471 | |
| 472 | static int luaB_pcall (lua_State *L) { |
| 473 | int status; |
| 474 | luaL_checkany(L, 1); |
| 475 | lua_pushboolean(L, 1); /* first result if no errors */ |
| 476 | lua_insert(L, 1); /* put it in place */ |
| 477 | status = lua_pcallk(L, lua_gettop(L) - 2, LUA_MULTRET, 0, 0, finishpcall); |
| 478 | return finishpcall(L, status, 0); |
| 479 | } |
| 480 | |
| 481 | |
| 482 | /* |
nothing calls this directly
no test coverage detected