PageRenderTime 43ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
Swig | 12 lines | 9 code | 3 blank | 0 comment | 0 complexity | 45297d394837b679ebc468e08f15befb MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. %module li_cmalloc
  2. %warnfilter(SWIGWARN_RUBY_WRONG_NAME) sizeof_int; /* Ruby, wrong constant name */
  3. %warnfilter(SWIGWARN_RUBY_WRONG_NAME) sizeof_double; /* Ruby, wrong constant name */
  4. %warnfilter(SWIGWARN_RUBY_WRONG_NAME) sizeof_intp; /* Ruby, wrong constant name */
  5. %include <cmalloc.i>
  6. %allocators(int);
  7. %allocators(double);
  8. %allocators(void);
  9. %allocators(int *, intp);