annotate lib/swig/swigwin-2.0.11/Lib/lua/carrays.i @ 2548:87e5590d034b
All Books windows are refactored into respective classes
author |
a.parshin |
date |
Tue, 12 May 2015 03:24:19 +0200 |
parents |
b3009adc0e2f |
children |
|
rev |
line source |
1899
|
1 /* Small change to the standard carrays.i
|
|
2 renaming the field to __getitem & __setitem
|
|
3 for operator[] access
|
|
4 */
|
|
5 %rename(__getitem) *::getitem; // the v=X[i] (get operator)
|
|
6 %rename(__setitem) *::setitem; // the X[i]=v (set operator)
|
|
7
|
|
8 %include <../carrays.i>
|