Only test python:abc feature when passing -py3 to swig
This commit is contained in:
parent
df30ae0f0b
commit
2d5c32048c
2 changed files with 10 additions and 0 deletions
|
|
@ -24,3 +24,9 @@ bool is_python_builtin() { return true; }
|
|||
bool is_python_builtin() { return false; }
|
||||
#endif
|
||||
%}
|
||||
|
||||
#ifdef SWIGPYTHON_PY3 // set when using -py3
|
||||
#define is_swig_py3 1
|
||||
#else
|
||||
#define is_swig_py3 0
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue