MCPcopy Create free account
hub / github.com/Tencent/xLua / xlua_getref_indirect

Function xlua_getref_indirect

WebGLPlugins/xlua.c:186–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186LUA_API void xlua_getref_indirect(lua_State *L, int indirectRef, int reference) {
187 lua_rawgeti(L, LUA_REGISTRYINDEX, indirectRef);
188 lua_rawgeti(L, -1, reference);
189 lua_remove(L, -2);
190}
191
192LUA_API int xlua_tointeger (lua_State *L, int idx) {
193 return (int)lua_tointeger(L, idx);

Callers

nothing calls this directly

Calls 2

lua_rawgetiFunction · 0.85
lua_removeFunction · 0.85

Tested by

no test coverage detected