MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / rname

Function rname

lib/lua/src/ldebug.c:529–533  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 2

rknameFunction · 0.85
getobjnameFunction · 0.85

Calls 1

basicgetobjnameFunction · 0.85

Tested by

no test coverage detected