Searched refs:fnameindex (Results 1 – 1 of 1) sorted by relevance
/external/lua/src/ |
D | lauxlib.c | 711 static int errfile (lua_State *L, const char *what, int fnameindex) { in errfile() argument 713 const char *filename = lua_tostring(L, fnameindex) + 1; in errfile() 715 lua_remove(L, fnameindex); in errfile() 759 int fnameindex = lua_gettop(L) + 1; /* index of filename on the stack */ in luaL_loadfilex() local 767 if (lf.f == NULL) return errfile(L, "open", fnameindex); in luaL_loadfilex() 773 if (lf.f == NULL) return errfile(L, "reopen", fnameindex); in luaL_loadfilex() 782 lua_settop(L, fnameindex); /* ignore results from 'lua_load' */ in luaL_loadfilex() 783 return errfile(L, "read", fnameindex); in luaL_loadfilex() 785 lua_remove(L, fnameindex); in luaL_loadfilex()
|