Better detection of builtin in Python testcase
This commit is contained in:
parent
345b4fec43
commit
bb5c46079b
2 changed files with 6 additions and 1 deletions
|
|
@ -132,4 +132,9 @@ struct SomeAnotherStruct
|
|||
}
|
||||
};
|
||||
|
||||
#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