diff options
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 2.273 2017/11/02 11:28:56 roberto Exp $ | 2 | ** $Id: lapi.c,v 2.276 2017/11/07 13:25:26 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -205,7 +205,7 @@ LUA_API void lua_settop (lua_State *L, int idx) { | |||
205 | ** Reverse the stack segment from 'from' to 'to' | 205 | ** Reverse the stack segment from 'from' to 'to' |
206 | ** (auxiliary to 'lua_rotate') | 206 | ** (auxiliary to 'lua_rotate') |
207 | ** Note that we move(copy) only the value inside the stack. | 207 | ** Note that we move(copy) only the value inside the stack. |
208 | ** (We do not move addicional fields that may exist.) | 208 | ** (We do not move additional fields that may exist.) |
209 | */ | 209 | */ |
210 | static void reverse (lua_State *L, StkId from, StkId to) { | 210 | static void reverse (lua_State *L, StkId from, StkId to) { |
211 | for (; from < to; from++, to--) { | 211 | for (; from < to; from++, to--) { |