Lines Matching defs:fname
207 LUALIB_API int luaL_fileresult (lua_State *L, int stat, const char *fname) {
215 if (fname)
216 lua_pushfstring(L, "%s: %s", fname, strerror(en));
768 const char *fname, int szhint) {
772 e = strchr(fname, '.');
773 if (e == NULL) e = fname + strlen(fname);
774 lua_pushlstring(L, fname, e - fname);
779 lua_pushlstring(L, fname, e - fname);
785 return fname; /* return problematic part of the name */
788 fname = e + 1;
863 ** ensure that stack[idx][fname] has a table and push that table
866 LUALIB_API int luaL_getsubtable (lua_State *L, int idx, const char *fname) {
867 lua_getfield(L, idx, fname);
874 lua_setfield(L, idx, fname); /* assign new table to field */