diff options
Diffstat (limited to 'libshiboken')
-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. |