1 2 3 4 5 6 7 8
%module li_cdata %include <cdata.i> %cdata(int); %cdata(double); void *malloc(size_t size);