swig/Lib/lua/carrays.i
Mark Gossage 571a84c9e7 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
2007-01-23 01:29:00 +00:00

8 lines
261 B
OpenEdge ABL

/* Small change to the standard carrays.i
renaming the field to __getitem__ & __setitem__
for operator[] access
*/
%rename(__getitem) *::getitem; // the v=X[i] (get operator)
%rename(__setitem) *::setitem; // the X[i]=v (set operator)
%include <../carrays.i>