view lib/swig/swigwin-2.0.11/Lib/lua/carrays.i @ 2375:14c05b876218

sqrt(float, double)
author Ritor1
date Mon, 12 May 2014 12:27:50 +0600
parents b3009adc0e2f
children
line wrap: on
line source

/* 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>