Home | History | Annotate | Download | only in src

Lines Matching defs:narg

172 static int docall (lua_State *L, int narg, int nres) {
174 int base = lua_gettop(L) - narg; /* function index */
179 status = lua_pcall(L, narg, nres, base);
193 int narg;
197 narg = argc - (n + 1); /* number of arguments to the script */
198 luaL_checkstack(L, narg + 3, "too many arguments to script");
201 lua_createtable(L, narg, n + 1);
206 return narg;
329 int narg = getargs(L, argv, n); /* collect arguments */
335 lua_insert(L, -(narg+1));
337 status = docall(L, narg, LUA_MULTRET);
339 lua_pop(L, narg);