Bypass Python tests not supported by -builtin
There are a number of autodoc comment differences when using -builtin. Some of which might need fixing, but for now we'll accept them as they are.
This commit is contained in:
parent
afcd61388a
commit
185d65895f
3 changed files with 190 additions and 28 deletions
|
|
@ -133,3 +133,11 @@ typedef int Integer;
|
|||
void banana(S *a, const struct tagS *b, int c, Integer d) {}
|
||||
%}
|
||||
|
||||
%inline %{
|
||||
#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