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

Function getfuncname

third-party/lua-5.5.0/src/ldebug.c:323–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321
322
323static const char *getfuncname (lua_State *L, CallInfo *ci, const char **name) {
324 /* calling function is a known function? */
325 if (ci != NULL && !(ci->callstatus & CIST_TAIL))
326 return funcnamefromcall(L, ci->previous, name);
327 else return NULL; /* no way to find a name */
328}
329
330
331static int auxgetinfo (lua_State *L, const char *what, lua_Debug *ar,

Callers 1

auxgetinfoFunction · 0.70

Calls 1

funcnamefromcallFunction · 0.70

Tested by

no test coverage detected