Patch #1640862 (malloc.h to stdlib.h) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9643 626c5289-ae23-0410-ae9c-e8d60b6d4f22
8 lines
261 B
OpenEdge ABL
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>
|