| 319 | |
| 320 | |
| 321 | static 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 | |
| 329 | static int auxgetinfo (lua_State *L, const char *what, lua_Debug *ar, |
no test coverage detected