| 261 | } |
| 262 | |
| 263 | LUA_API int xlua_psettable(lua_State* L, int idx) { |
| 264 | int top = lua_gettop(L); |
| 265 | idx = lua_absindex(L, idx); |
| 266 | lua_pushcfunction(L, c_lua_settable); |
| 267 | lua_pushvalue(L, idx); |
| 268 | lua_pushvalue(L, top - 1); |
| 269 | lua_pushvalue(L, top); |
| 270 | lua_remove(L, top); |
| 271 | lua_remove(L, top - 1); |
| 272 | return lua_pcall(L, 3, 0, 0); |
| 273 | } |
| 274 | |
| 275 | static int c_lua_settable_bypath(lua_State* L) { |
| 276 | size_t len = 0; |
nothing calls this directly
no test coverage detected