diff options
Diffstat (limited to 'lapi.c')
| -rw-r--r-- | lapi.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lapi.c,v 2.173 2013/04/15 15:43:34 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.174 2013/04/25 13:52:49 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 | */ |
| @@ -656,7 +656,7 @@ LUA_API void lua_rawget (lua_State *L, int idx) { | |||
| 656 | } | 656 | } |
| 657 | 657 | ||
| 658 | 658 | ||
| 659 | LUA_API void lua_rawgeti (lua_State *L, int idx, int n) { | 659 | LUA_API void lua_rawgeti (lua_State *L, int idx, lua_Integer n) { |
| 660 | StkId t; | 660 | StkId t; |
| 661 | lua_lock(L); | 661 | lua_lock(L); |
| 662 | t = index2addr(L, idx); | 662 | t = index2addr(L, idx); |
| @@ -791,7 +791,7 @@ LUA_API void lua_rawset (lua_State *L, int idx) { | |||
| 791 | } | 791 | } |
| 792 | 792 | ||
| 793 | 793 | ||
| 794 | LUA_API void lua_rawseti (lua_State *L, int idx, int n) { | 794 | LUA_API void lua_rawseti (lua_State *L, int idx, lua_Integer n) { |
| 795 | StkId t; | 795 | StkId t; |
| 796 | lua_lock(L); | 796 | lua_lock(L); |
| 797 | api_checknelems(L, 1); | 797 | api_checknelems(L, 1); |
