MCPcopy Create free account
hub / github.com/Tencent/UnLua / lua_rawgetp

Function lua_rawgetp

Plugins/UnLuaExtensions/LuaProtobuf/Source/src/pb.cpp:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 (luaL_getmetatable((L), (name)), lua_setmetatable(L, -2))
44
45static void lua_rawgetp(lua_State *L, int idx, const void *p) {
46 lua_pushlightuserdata(L, (void*)p);
47 lua_rawget(L, lpb_relindex(idx, 1));
48}
49
50static void lua_rawsetp(lua_State *L, int idx, const void *p) {
51 lua_pushlightuserdata(L, (void*)p);

Callers 4

lua53_rawgetpFunction · 0.70
Lpb_stateFunction · 0.70
Lpb_hookFunction · 0.70
Lpb_encode_hookFunction · 0.70

Calls 3

lua_pushlightuserdataFunction · 0.85
lua_rawgetFunction · 0.85
lpb_relindexFunction · 0.85

Tested by

no test coverage detected