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

Function getfuncname

lib/lua/src/ldebug.c:321–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

auxgetinfoFunction · 0.85

Calls 1

funcnamefromcallFunction · 0.85

Tested by

no test coverage detected