summaryrefslogtreecommitdiff
path: root/linux-x86/share/swig/python/wchar.i
diff options
context:
space:
mode:
Diffstat (limited to 'linux-x86/share/swig/python/wchar.i')
-rw-r--r--linux-x86/share/swig/python/wchar.i21
1 files changed, 21 insertions, 0 deletions
diff --git a/linux-x86/share/swig/python/wchar.i b/linux-x86/share/swig/python/wchar.i
new file mode 100644
index 0000000..308139a
--- /dev/null
+++ b/linux-x86/share/swig/python/wchar.i
@@ -0,0 +1,21 @@
+#ifdef __cplusplus
+
+%{
+#include <cwchar>
+%}
+
+#else
+
+%{
+#include <wchar.h>
+%}
+
+#endif
+
+%types(wchar_t *);
+%include <pywstrings.swg>
+
+/*
+ Enable swig wchar support.
+*/
+#define SWIG_WCHAR