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

Function rkname

lib/lua/src/ldebug.c:539–545  ·  view source on GitHub ↗

** Find a "name" for a 'C' value in an RK instruction. */

Source from the content-addressed store, hash-verified

537** Find a "name" for a 'C' value in an RK instruction.
538*/
539static void rkname (const Proto *p, int pc, Instruction i, const char **name) {
540 int c = GETARG_C(i); /* key index */
541 if (GETARG_k(i)) /* is 'c' a constant? */
542 kname(p, c, name);
543 else /* 'c' is a register */
544 rname(p, pc, c, name);
545}
546
547
548/*

Callers 1

getobjnameFunction · 0.85

Calls 2

knameFunction · 0.85
rnameFunction · 0.85

Tested by

no test coverage detected