Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Lib/lua/carrays.i
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

9 lines
256 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>