MCPcopy Create free account
hub / github.com/F-Stack/f-stack / findvararg

Function findvararg

freebsd/contrib/openzfs/module/lua/ldebug.c:113–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111
112
113static const char *findvararg (CallInfo *ci, int n, StkId *pos) {
114 int nparams = clLvalue(ci->func)->p->numparams;
115 if (n >= ci->u.l.base - ci->func - nparams)
116 return NULL; /* no such vararg */
117 else {
118 *pos = ci->func + nparams + n;
119 return "(*vararg)"; /* generic name for any vararg */
120 }
121}
122
123
124static const char *findlocal (lua_State *L, CallInfo *ci, int n,

Callers 1

findlocalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected