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

Function lua_rawsetp

Libs/sol/sol.hpp:3106–3112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3104}
3105
3106COMPAT53_API void lua_rawsetp(lua_State* L, int i, const void* p) {
3107 int abs_i = lua_absindex(L, i);
3108 luaL_checkstack(L, 1, "not enough stack slots");
3109 lua_pushlightuserdata(L, (void*)p);
3110 lua_insert(L, -2);
3111 lua_rawset(L, abs_i);
3112}
3113
3114COMPAT53_API lua_Number lua_tonumberx(lua_State* L, int i, int* isnum) {
3115 lua_Number n = lua_tonumber(L, i);

Callers 2

compat53_call_luaFunction · 0.85
constexprMethod · 0.85

Calls 2

lua_absindexFunction · 0.85
luaL_checkstackFunction · 0.85

Tested by

no test coverage detected