summaryrefslogtreecommitdiff
path: root/Examples/test-suite/li_std_wstring.i
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2014-10-02 20:18:38 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2014-10-07 20:58:39 +0100
commit9f1b051c16672120832ae4511667e8978efc1a80 (patch)
treeb8607efc904da98334ce0fbaa99116785c43657f /Examples/test-suite/li_std_wstring.i
parentbbad7f96ab870046b62cfa834221a424f89bcf05 (diff)
downloadswig-9f1b051c16672120832ae4511667e8978efc1a80.tar.gz
Bypass Python tests failing with -builtin
Reverse operators not supported in builtin types
Diffstat (limited to 'Examples/test-suite/li_std_wstring.i')
-rw-r--r--Examples/test-suite/li_std_wstring.i6
1 files changed, 6 insertions, 0 deletions
diff --git a/Examples/test-suite/li_std_wstring.i b/Examples/test-suite/li_std_wstring.i
index e0ecde53b..80f860338 100644
--- a/Examples/test-suite/li_std_wstring.i
+++ b/Examples/test-suite/li_std_wstring.i
@@ -92,6 +92,12 @@ void test_throw() throw(std::wstring){
#pragma warning(default: 4290) // C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
#endif
+#ifdef SWIGPYTHON_BUILTIN
+bool is_python_builtin() { return true; }
+#else
+bool is_python_builtin() { return false; }
+#endif
+
%}