Better detection of builtin in Python testcase

This commit is contained in:
William S Fulton 2018-08-14 19:16:25 +01:00
commit bb5c46079b
2 changed files with 6 additions and 1 deletions

View file

@ -132,4 +132,9 @@ struct SomeAnotherStruct
}
};
#ifdef SWIGPYTHON_BUILTIN
bool is_python_builtin() { return true; }
#else
bool is_python_builtin() { return false; }
#endif
%}