MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / rname

Function rname

third-party/lua-5.5.0/src/ldebug.c:539–543  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

537** Find a "name" for the register 'c'.
538*/
539static void rname (const Proto *p, int pc, int c, const char **name) {
540 const char *what = basicgetobjname(p, &pc, c, name); /* search for 'c' */
541 if (!(what && *what == 'c')) /* did not find a constant name? */
542 *name = "?";
543}
544
545
546/*

Callers 1

getobjnameFunction · 0.70

Calls 1

basicgetobjnameFunction · 0.70

Tested by

no test coverage detected