MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / kname

Function kname

deps/lua/src/ldebug.c:489–494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

487
488
489static const char *kname (Proto *p, int c) {
490 if (ISK(c) && ttisstring(&p->k[INDEXK(c)]))
491 return svalue(&p->k[INDEXK(c)]);
492 else
493 return "?";
494}
495
496
497static const char *getobjname (lua_State *L, CallInfo *ci, int stackpos,

Callers 1

getobjnameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected