diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-10-10 16:03:41 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:18:22 -0300 |
commit | bf52cec4e9709071ac8eab5b88282fcae6b08553 (patch) | |
tree | 3f8d01731422da980f69d27eff6b7479eaed5a34 /libshiboken | |
parent | 13c40649f9cc6011df5fe460aa6f2bf2c4e59b8e (diff) |
Fix PySide compilation with Python 2.5.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'libshiboken')
-rw-r--r-- | libshiboken/python25compat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libshiboken/python25compat.h b/libshiboken/python25compat.h index 09353391b..494f58410 100644 --- a/libshiboken/python25compat.h +++ b/libshiboken/python25compat.h @@ -71,6 +71,7 @@ typedef struct { #define PyBytes_AS_STRING PyString_AS_STRING #define PyBytes_AsString PyString_AsString #define PyBytes_Concat PyString_Concat +#define PyBytes_Size PyString_Size inline PyObject* PyUnicode_FromString(const char* s) { |