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

Function lua_rawgetp

Libs/sol/sol.hpp:3099–3104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3097}
3098
3099COMPAT53_API int lua_rawgetp(lua_State* L, int i, const void* p) {
3100 int abs_i = lua_absindex(L, i);
3101 lua_pushlightuserdata(L, (void*)p);
3102 lua_rawget(L, abs_i);
3103 return lua_type(L, -1);
3104}
3105
3106COMPAT53_API void lua_rawsetp(lua_State* L, int i, const void* p) {
3107 int abs_i = lua_absindex(L, i);

Callers 2

compat53_call_luaFunction · 0.85
constexprMethod · 0.85

Calls 1

lua_absindexFunction · 0.85

Tested by

no test coverage detected