diff options
Diffstat (limited to 'sources/shiboken2/libshiboken/sbkpython.h')
-rw-r--r-- | sources/shiboken2/libshiboken/sbkpython.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/shiboken2/libshiboken/sbkpython.h b/sources/shiboken2/libshiboken/sbkpython.h index 9dd1e712e..6755e945d 100644 --- a/sources/shiboken2/libshiboken/sbkpython.h +++ b/sources/shiboken2/libshiboken/sbkpython.h @@ -41,6 +41,7 @@ #define SBKPYTHON_H #include "sbkversion.h" +#define PyEnumMeta_Check(x) (strcmp(Py_TYPE(x)->tp_name, "EnumMeta") == 0) // Qt's "slots" macro collides with the "slots" member variables // used in some Python structs. For compilers that support push_macro, |