From 301f46c17c26aab4698d5dce76949fec9c31e746 Mon Sep 17 00:00:00 2001 From: Renato Filho Date: Tue, 4 Oct 2011 16:08:05 -0300 Subject: Updated Shiboken python version compat header. --- libshiboken/sbkpython.h | 1 + 1 file changed, 1 insertion(+) 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. -- cgit v1.2.3