diff options
author | Renato Filho <renato.filho@openbossa.org> | 2011-10-04 16:08:05 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:18:19 -0300 |
commit | 301f46c17c26aab4698d5dce76949fec9c31e746 (patch) | |
tree | d30505f4b716e743742698a60fb2fca27b766f48 | |
parent | 5a5ab030e94ca2b682e5ff48a168ca64ef69812f (diff) |
Updated Shiboken python version compat header.
-rw-r--r-- | libshiboken/sbkpython.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libshiboken/sbkpython.h b/libshiboken/sbkpython.h index 84f92d25e..ab1682d23 100644 --- a/libshiboken/sbkpython.h +++ b/libshiboken/sbkpython.h @@ -39,6 +39,7 @@ #define SBK_NB_BOOL(x) (x).nb_bool #define SBK_PyMethod_New PyMethod_New + #define PyInt_AsSsize_t(x) PyLong_AsSsize_t(x) #else // Note: if there wasn't for the old-style classes, only a PyNumber_Check would suffice. |