1 2 3 4 5 6 7 8 9
%include <typemaps/cstrings.swg> %typemaps_cstring(%cstring, char, SWIG_AsCharPtr, SWIG_AsCharPtrAndSize, SWIG_FromCharPtr, SWIG_FromCharPtrAndSize);