| 536 | return 0; |
| 537 | } |
| 538 | static int ExtractRes(lua_State* L)LNOEXCEPT |
| 539 | { |
| 540 | const char* pArgPath = luaL_checkstring(L, 1); |
| 541 | const char* pArgTarget = luaL_checkstring(L, 2); |
| 542 | if (!LRES.ExtractRes(pArgPath, pArgTarget)) |
| 543 | return luaL_error(L, "failed to extract resource '%s' to '%s'.", pArgPath, pArgTarget); |
| 544 | return 0; |
| 545 | } |
| 546 | static int DoFile(lua_State* L)LNOEXCEPT |
| 547 | { |
| 548 | int args = lua_gettop(L);//获取此时栈上的值的数量 |
nothing calls this directly
no outgoing calls
no test coverage detected