Bypass Python tests failing with -builtin
Reverse operators not supported in builtin types
This commit is contained in:
parent
bbad7f96ab
commit
9f1b051c16
5 changed files with 25 additions and 15 deletions
|
|
@ -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
|
||||
|
||||
%}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue