MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / lua_isuserdata

Function lua_isuserdata

lua/lapi.c:274–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272
273
274LUA_API int lua_isuserdata (lua_State *L, int idx) {
275 const TValue *o = index2adr(L, idx);
276 return (ttisuserdata(o) || ttislightuserdata(o));
277}
278
279
280LUA_API int lua_rawequal (lua_State *L, int index1, int index2) {

Callers

nothing calls this directly

Calls 1

index2adrFunction · 0.85

Tested by

no test coverage detected