diff --git a/CHANGES.current b/CHANGES.current index 92efb7350..cb84e9420 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -1,6 +1,9 @@ Version 1.3.32 (in progress) ============================ +01/23/2007: mgossage + [Lua] Patch #1640862: replaced by + 01/22/2007: mgossage [Lua] Added a lua specific carrays.i which adds the operator[] support. modified the main code to make it not emit all the class member functions & accessors diff --git a/Lib/lua/carrays.i b/Lib/lua/carrays.i index 7c8e3d517..9a210d243 100644 --- a/Lib/lua/carrays.i +++ b/Lib/lua/carrays.i @@ -1,8 +1,6 @@ /* Small change to the standard carrays.i renaming the field to __getitem__ & __setitem__ for operator[] access - -Thanks to Fabian Franz for suggesting this */ %rename(__getitem) *::getitem; // the v=X[i] (get operator) %rename(__setitem) *::setitem; // the X[i]=v (set operator) diff --git a/Lib/lua/luarun.swg b/Lib/lua/luarun.swg index 9e2b4be7d..d009752d2 100644 --- a/Lib/lua/luarun.swg +++ b/Lib/lua/luarun.swg @@ -15,7 +15,7 @@ extern "C" { #include "lua.h" #include "lauxlib.h" -#include +#include /* for malloc */ #include /* for a few sanity tests */ /* -----------------------------------------------------------------------------