| 248 | } |
| 249 | |
| 250 | LUA_API int xlua_pgettable_bypath(lua_State* L, int idx, const char *path) { |
| 251 | idx = lua_absindex(L, idx); |
| 252 | lua_pushcfunction(L, c_lua_gettable_bypath); |
| 253 | lua_pushvalue(L, idx); |
| 254 | lua_pushstring(L, path); |
| 255 | return lua_pcall(L, 2, 1, 0); |
| 256 | } |
| 257 | |
| 258 | static int c_lua_settable(lua_State* L) { |
| 259 | lua_settable(L, 1); |
nothing calls this directly
no test coverage detected