diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2014-10-02 20:18:38 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2014-10-07 20:58:39 +0100 |
commit | 9f1b051c16672120832ae4511667e8978efc1a80 (patch) | |
tree | b8607efc904da98334ce0fbaa99116785c43657f /Examples/test-suite/li_std_wstring.i | |
parent | bbad7f96ab870046b62cfa834221a424f89bcf05 (diff) | |
download | swig-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.i | 6 |
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 + %} |