MCPcopy Create free account
hub / github.com/DFHack/dfhack / lua_isuserdata

Function lua_isuserdata

depends/lua/src/lapi.c:289–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287
288
289LUA_API int lua_isuserdata (lua_State *L, int idx) {
290 const TValue *o = index2addr(L, idx);
291 return (ttisfulluserdata(o) || ttislightuserdata(o));
292}
293
294
295LUA_API int lua_rawequal (lua_State *L, int index1, int index2) {

Callers 15

doAssignDFObjectFunction · 0.85
InvokeMethod · 0.85
lua_writeMethod · 0.85
find_fieldFunction · 0.85
lookup_container_fieldFunction · 0.85
meta_bitfield_indexFunction · 0.85
meta_bitfield_newindexFunction · 0.85
decode_matinfoFunction · 0.85
dfhack_matinfo_matchesFunction · 0.85
CheckPenMethod · 0.85
adjust_penFunction · 0.85
get_object_internalMethod · 0.85

Calls 1

index2addrFunction · 0.85

Tested by

no test coverage detected