1 #ifdef __cplusplus 2 3 %{ 4 #include <cwchar> 5 %} 6 7 #else 8 9 %{ 10 #include <wchar.h> 11 %} 12 13 #endif 14 15 %types(wchar_t *); 16 %include <pywstrings.swg> 17 18 /* 19 Enable swig wchar support. 20 */ 21 #define SWIG_WCHAR 22