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
|
|
@ -49,6 +49,12 @@ std::basic_string<char,std::char_traits<char>,std::allocator<char> > test_value_
|
|||
return x;
|
||||
}
|
||||
|
||||
#ifdef SWIGPYTHON_BUILTIN
|
||||
bool is_python_builtin() { return true; }
|
||||
#else
|
||||
bool is_python_builtin() { return false; }
|
||||
#endif
|
||||
|
||||
%}
|
||||
|
||||
%include "li_std_string.i"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue