From 571a84c9e788a8e97517a5d730d0e01edf0085e2 Mon Sep 17 00:00:00 2001 From: Mark Gossage Date: Tue, 23 Jan 2007 01:29:00 +0000 Subject: [PATCH] removed reference to contributers Patch #1640862 (malloc.h to stdlib.h) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9643 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- CHANGES.current | 3 +++ Lib/lua/carrays.i | 2 -- Lib/lua/luarun.swg | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) 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 */ /* -----------------------------------------------------------------------------