MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / kname

Function kname

3rd/lua-5.4.3/src/ldebug.c:426–429  ·  view source on GitHub ↗

** Find a "name" for the constant 'c'. */

Source from the content-addressed store, hash-verified

424** Find a "name" for the constant 'c'.
425*/
426static void kname (const Proto *p, int c, const char **name) {
427 TValue *kvalue = &p->k[c];
428 *name = (ttisstring(kvalue)) ? svalue(kvalue) : "?";
429}
430
431
432/*

Callers 2

rknameFunction · 0.85
getobjnameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected