MCPcopy Create free account
hub / github.com/DFHack/dfhack / upvalname

Function upvalname

depends/lua/src/ldebug.c:127–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125
126
127static const char *upvalname (Proto *p, int uv) {
128 TString *s = check_exp(uv < p->sizeupvalues, p->upvalues[uv].name);
129 if (s == NULL) return "?";
130 else return getstr(s);
131}
132
133
134static const char *findvararg (CallInfo *ci, int n, StkId *pos) {

Callers 2

getobjnameFunction · 0.85
getupvalnameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected