aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken/sbkpython.h
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-10-20 19:56:48 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:18:31 -0300
commitb64c2001d14b8b1102af6b6029eb9c317e5d8008 (patch)
tree7f71a6115dc1467fd181784f2fd0cf55f5ce5ef0 /libshiboken/sbkpython.h
parentdc022d65ce87882fdf6add900038e957f399453b (diff)
Make converter branch work on a Python3.2 setup.
Diffstat (limited to 'libshiboken/sbkpython.h')
-rw-r--r--libshiboken/sbkpython.h1
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.