/trunk/Examples/test-suite/li_cpointer.i
# · Swig · 10 lines · 6 code · 4 blank · 0 comment · 0 complexity · aed0e8cc8816cd15fa39c07d95c119b9 MD5 · raw file
- %module li_cpointer
- %warnfilter(SWIGWARN_RUBY_WRONG_NAME) doublep; /* Ruby, wrong class name */
- %include "cpointer.i"
- %pointer_functions(int,intp);
- %pointer_class(double,doublep);
- %pointer_cast(int, unsigned int, int_to_uint);