Searched refs:lua_rotate (Results 1 – 6 of 6) sorted by relevance
/netbsd-src/external/mit/lua/dist/src/ |
H A D | lua.h | 186 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 D | ldblib.c | 140 lua_rotate(L, -2, 1); /* exchange object and table */ in treatstackoption() 227 lua_rotate(L, -2, 1); /* re-order */ in db_getlocal()
|
H A D | loadlib.c | 669 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 D | lbaselib.c | 501 lua_rotate(L, 3, 2); /* move them below function's arguments */ in luaB_xpcall()
|
H A D | liolib.c | 371 lua_rotate(L, 2, 3); /* move the three values to their positions */ in aux_lines()
|
H A D | lapi.c | 247 LUA_API void lua_rotate (lua_State *L, int idx, int n) { in lua_rotate() function
|