summaryrefslogtreecommitdiff
path: root/Examples/test-suite/li_cmalloc.i
blob: 364351d5aaa6d1924d51ac9b9db9360c62d49acd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
%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);