From bd9f0b0d72cf01611a0ad9d3a5373c313ce7e173 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Tue, 18 Sep 2018 03:38:56 +0430 Subject: update --- luatablegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luatablegen.py b/luatablegen.py index 7670429..45331f5 100755 --- a/luatablegen.py +++ b/luatablegen.py @@ -95,9 +95,9 @@ int pushluatable_YYY(lua_State* ls, XXX array) { lua_pushinteger(ls, i+1); WWW_push_args(ls, array[i]); new_WWW(ls); - lua_settable(ls, -3); i++; } + lua_settable(ls, -3); return 0; } """ -- cgit v1.2.3