Bypass Python tests failing with -builtin

Reverse operators not supported in builtin types
This commit is contained in:
William S Fulton 2014-10-02 20:18:38 +01:00
commit 9f1b051c16
5 changed files with 25 additions and 15 deletions

View file

@ -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
%}