diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-09-16 14:27:32 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:17:15 -0300 |
commit | fd5dd85d0d0dcc4faaf3a1ca5bd6a5df857f7844 (patch) | |
tree | cbbb5e773dc62b14e5e94e9c6217075ae6a2c41d /libshiboken/sbkpython.h | |
parent | 9785f258d93b4976872a17fbf61bd27a4c4123cd (diff) |
Port libsample typesystem and glue codes to Python 3.
Diffstat (limited to 'libshiboken/sbkpython.h')
-rw-r--r-- | libshiboken/sbkpython.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libshiboken/sbkpython.h b/libshiboken/sbkpython.h index 0b7f2a9cd..85a097b2a 100644 --- a/libshiboken/sbkpython.h +++ b/libshiboken/sbkpython.h @@ -35,6 +35,8 @@ #define PyInt_FromLong PyLong_FromLong #define PyInt_AsLong PyLong_AsLong #define SbkNumber_Check PyNumber_Check + #define Py_TPFLAGS_CHECKTYPES 0 + #else // Note: if there wasn't for the old-style classes, only a PyNumber_Check would suffice. #define SbkNumber_Check(X) \ |