MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / lua_rawgetp

Function lua_rawgetp

extlibs/sol3/include/sol/sol.hpp:2587–2592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2585}
2586
2587COMPAT53_API int lua_rawgetp(lua_State *L, int i, const void *p) {
2588 int abs_i = lua_absindex(L, i);
2589 lua_pushlightuserdata(L, (void*)p);
2590 lua_rawget(L, abs_i);
2591 return lua_type(L, -1);
2592}
2593
2594COMPAT53_API void lua_rawsetp(lua_State *L, int i, const void *p) {
2595 int abs_i = lua_absindex(L, i);

Callers 2

compat53_call_luaFunction · 0.70
constexprMethod · 0.70

Calls 4

lua_pushlightuserdataFunction · 0.85
lua_rawgetFunction · 0.85
lua_typeFunction · 0.85
lua_absindexFunction · 0.70

Tested by

no test coverage detected