Lines Matching refs:top
36 ** return 1 + string at top if find a good name.
63 int top = lua_gettop(L);
66 if (findfield(L, top + 1, 2)) {
67 lua_copy(L, -1, top + 1); /* move name to proper place */
72 lua_settop(L, top); /* remove function and global table */
114 int top = lua_gettop(L);
133 lua_concat(L, lua_gettop(L) - top);
136 lua_concat(L, lua_gettop(L) - top);
236 return 0; /* leave previous value on top, but return 0 */
701 ** set functions from list 'l' into table at top - 'nup'; each
702 ** function gets the 'nup' elements at the top as upvalues.
710 for (i = 0; i < nup; i++) /* copy upvalues to the top */
730 lua_pushvalue(L, -1); /* copy to be left at top */
741 ** Leaves resulting module on the top.