mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-08 08:26:44 +00:00
9 lines
261 B
OpenEdge ABL
9 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>
|