MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / kname

Function kname

Source/Misc/lua/src/lua.c:4997–5002  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4995
4996
4997static const char *kname (Proto *p, int c) {
4998if (ISK(c) && ttisstring(&p->k[INDEXK(c)]))
4999return svalue(&p->k[INDEXK(c)]);
5000else
5001return "?";
5002}
5003
5004
5005static 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