1 2 3 4 5 6 7 8 9 10
%module example %{ #include "example.h" %} #define ENABLE_CHARPTR_ARRAY #define ENABLE_STRING_VECTOR %include stl.i %include example.h