/trunk/Examples/test-suite/li_cmalloc.i
# · Swig · 12 lines · 9 code · 3 blank · 0 comment · 0 complexity · 45297d394837b679ebc468e08f15befb MD5 · raw file
- %module li_cmalloc
- %warnfilter(SWIGWARN_RUBY_WRONG_NAME) sizeof_int; /* Ruby, wrong constant name */
- %warnfilter(SWIGWARN_RUBY_WRONG_NAME) sizeof_double; /* Ruby, wrong constant name */
- %warnfilter(SWIGWARN_RUBY_WRONG_NAME) sizeof_intp; /* Ruby, wrong constant name */
- %include <cmalloc.i>
- %allocators(int);
- %allocators(double);
- %allocators(void);
- %allocators(int *, intp);