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

Function rname

third-party/lua-5.4.6/src/ldebug.c:532–536  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

530** Find a "name" for the register 'c'.
531*/
532static void rname (const Proto *p, int pc, int c, const char **name) {
533 const char *what = basicgetobjname(p, &pc, c, name); /* search for 'c' */
534 if (!(what && *what == 'c')) /* did not find a constant name? */
535 *name = "?";
536}
537
538
539/*

Callers 2

rknameFunction · 0.70
getobjnameFunction · 0.70

Calls 1

basicgetobjnameFunction · 0.70

Tested by

no test coverage detected