MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / lua_getuserdataextra

Function lua_getuserdataextra

other_src/lua/src/lapi.cpp:1167–1174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1165
1166
1167LUA_API void* lua_getuserdataextra (lua_State* L, int idx) {
1168 StkId o = index2adr(L, idx);
1169 if (ttype(o) != LUA_TUSERDATA) {
1170 return NULL;
1171 } else {
1172 return uvalue(o)->extra;
1173 }
1174}
1175
1176
1177LUA_API int lua_geterrorfunc (lua_State* L) {

Callers 15

IsDoubleMethod · 0.85
TestDoubleMethod · 0.85
TestNumberMethod · 0.85
CheckDoubleMethod · 0.85
isdoubleMethod · 0.85
TestLuaTextureMethod · 0.85
CheckLuaTextureMethod · 0.85
GetLuaTextureMethod · 0.85
TestLuaDListMethod · 0.85
CheckLuaDListMethod · 0.85
GetLuaDListMethod · 0.85
TestLuaGLQueryMethod · 0.85

Calls 1

index2adrFunction · 0.70

Tested by 9

TestDoubleMethod · 0.68
TestNumberMethod · 0.68
TestLuaTextureMethod · 0.68
TestLuaDListMethod · 0.68
TestLuaGLQueryMethod · 0.68
TestLuaFBOMethod · 0.68
TestLuaRBOMethod · 0.68
TestLuaGLBufferMethod · 0.68
TestLuaShaderMethod · 0.68