Home
last modified time | relevance | path

Searched refs:lua_rotate (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/mit/lua/dist/src/
H A Dlua.h186 LUA_API void (lua_rotate) (lua_State *L, int idx, int n); variable
424 #define lua_insert(L,idx) lua_rotate(L, (idx), 1)
426 #define lua_remove(L,idx) (lua_rotate(L, (idx), -1), lua_pop(L, 1))
H A Dldblib.c140 lua_rotate(L, -2, 1); /* exchange object and table */ in treatstackoption()
227 lua_rotate(L, -2, 1); /* re-order */ in db_getlocal()
H A Dloadlib.c669 lua_rotate(L, -2, 1); /* function <-> loader data */ in ll_require()
684 lua_rotate(L, -2, 1); /* loader data <-> module result */ in ll_require()
H A Dlbaselib.c501 lua_rotate(L, 3, 2); /* move them below function's arguments */ in luaB_xpcall()
H A Dliolib.c371 lua_rotate(L, 2, 3); /* move the three values to their positions */ in aux_lines()
H A Dlapi.c247 LUA_API void lua_rotate (lua_State *L, int idx, int n) { in lua_rotate() function