| 11423 | |
| 11424 | |
| 11425 | static int luaB_auxwrap (lua_State *L) { |
| 11426 | lua_State *co = lua_tothread(L, lua_upvalueindex(1)); |
| 11427 | int r = auxresume(L, co, lua_gettop(L)); |
| 11428 | if (r < 0) { |
| 11429 | if (lua_isstring(L, -1)) { /* error object is a string? */ |
| 11430 | luaL_where(L, 1); /* add extra info */ |
| 11431 | lua_insert(L, -2); |
| 11432 | lua_concat(L, 2); |
| 11433 | } |
| 11434 | lua_error(L); /* propagate error */ |
| 11435 | } |
| 11436 | return r; |
| 11437 | } |
| 11438 | |
| 11439 | |
| 11440 | static int luaB_cocreate (lua_State *L) { |
nothing calls this directly
no test coverage detected