I have a very small .i file basically with this information:
%module (directors="1") tu %include "typemaps.i" %include "enums.swg" %header %{ #include <my_header.h> %} %apply (char *STRING, size_t LENGTH) { (char* msg_buf, int buf_len) }; When generating java bindings there are no warnings but when generating c# bindings I get this:
SWIG: Warning 453: Can't apply (char *STRING,size_t LENGTH). No typemaps are defined Can anyone advise on what might be the problem. The .i file is identical for java and c#.