diff options
Diffstat (limited to 'glib/pyglib-python-compat.h')
-rw-r--r-- | glib/pyglib-python-compat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glib/pyglib-python-compat.h b/glib/pyglib-python-compat.h index e950160..6ba08a4 100644 --- a/glib/pyglib-python-compat.h +++ b/glib/pyglib-python-compat.h @@ -58,6 +58,7 @@ typedef inquiry lenfunc; #define _PyByteArray_Resize _PyString_Resize #define _PyByteArray_AsString PyString_AsString #define _PyByteArray_Size PyString_Size +#define _PyByteArray_Check PyString_Check #define _PyLong_Check PyInt_Check #define _PyLong_FromLong PyInt_FromLong |