mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-31 22:49:19 +00:00
1
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
/* 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>
|
||||
Reference in New Issue
Block a user