css_enhanced_waf/devtools/swigwin-1.3.34/Lib/lua/carrays.i
FluorescentCIAAfricanAmerican 3bf9df6b27 1
2020-04-22 12:56:21 -04: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>