/trunk/Examples/test-suite/li_cpointer.i

# · Swig · 10 lines · 6 code · 4 blank · 0 comment · 0 complexity · aed0e8cc8816cd15fa39c07d95c119b9 MD5 · raw file

  1. %module li_cpointer
  2. %warnfilter(SWIGWARN_RUBY_WRONG_NAME) doublep; /* Ruby, wrong class name */
  3. %include "cpointer.i"
  4. %pointer_functions(int,intp);
  5. %pointer_class(double,doublep);
  6. %pointer_cast(int, unsigned int, int_to_uint);