MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / lua_isuserdata

Function lua_isuserdata

Dependencies/lua/src/lapi.c:322–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320
321
322LUA_API int lua_isuserdata (lua_State *L, int idx) {
323 const TValue *o = index2value(L, idx);
324 return (ttisfulluserdata(o) || ttislightuserdata(o));
325}
326
327
328LUA_API int lua_rawequal (lua_State *L, int index1, int index2) {

Callers 2

runCFunction · 0.85
testCFunction · 0.85

Calls 1

index2valueFunction · 0.85

Tested by 2

runCFunction · 0.68
testCFunction · 0.68