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.242 2014/11/02 19:19:04 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.243 2014/11/12 13:28:54 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 | */ |
| @@ -676,7 +676,7 @@ LUA_API void lua_createtable (lua_State *L, int narray, int nrec) { | |||
| 676 | 676 | ||
| 677 | LUA_API int lua_getmetatable (lua_State *L, int objindex) { | 677 | LUA_API int lua_getmetatable (lua_State *L, int objindex) { |
| 678 | const TValue *obj; | 678 | const TValue *obj; |
| 679 | Table *mt = NULL; | 679 | Table *mt; |
| 680 | int res = 0; | 680 | int res = 0; |
| 681 | lua_lock(L); | 681 | lua_lock(L); |
| 682 | obj = index2addr(L, objindex); | 682 | obj = index2addr(L, objindex); |
