| 212 | } |
| 213 | |
| 214 | LUA_API int xlua_pgettable(lua_State* L, int idx) { |
| 215 | int top = lua_gettop(L); |
| 216 | idx = lua_absindex(L, idx); |
| 217 | lua_pushcfunction(L, c_lua_gettable); |
| 218 | lua_pushvalue(L, idx); |
| 219 | lua_pushvalue(L, top); |
| 220 | lua_remove(L, top); |
| 221 | return lua_pcall(L, 2, 1, 0); |
| 222 | } |
| 223 | |
| 224 | static int c_lua_gettable_bypath(lua_State* L) { |
| 225 | size_t len = 0; |
nothing calls this directly
no test coverage detected