diff options
Diffstat (limited to 'libshiboken/sbkpython.h')
-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 850f122ff..90df2d4c2 100644 --- a/libshiboken/sbkpython.h +++ b/libshiboken/sbkpython.h @@ -41,6 +41,7 @@ #define SBK_NB_BOOL(x) (x).nb_bool #define SBK_PyMethod_New PyMethod_New #define PyInt_AsSsize_t(x) PyLong_AsSsize_t(x) + #define PyString_Type PyUnicode_Type #else // Note: if there wasn't for the old-style classes, only a PyNumber_Check would suffice. |