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

Function getfuncname

third-party/lua-5.4.6/src/ldebug.c:324–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322
323
324static const char *getfuncname (lua_State *L, CallInfo *ci, const char **name) {
325 /* calling function is a known function? */
326 if (ci != NULL && !(ci->callstatus & CIST_TAIL))
327 return funcnamefromcall(L, ci->previous, name);
328 else return NULL; /* no way to find a name */
329}
330
331
332static 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