summaryrefslogtreecommitdiffstats
path: root/glib/pyglib-python-compat.h
diff options
context:
space:
mode:
authorJohn Ehresman <jpe@wingware.com>2010-04-13 12:00:34 -0400
committerJohn Ehresman <jpe@wingware.com>2010-04-15 12:16:48 -0400
commit8cd850a5d2526b83bf3862ec86c430f718947294 (patch)
tree5439904329c3bca36e18e5d2cc70ca698b01ca1e /glib/pyglib-python-compat.h
parent8661f934abf276d71b5bf17b617f425a4fc6f06e (diff)
downloadpygobject-8cd850a5d2526b83bf3862ec86c430f718947294.tar.gz
pygobject-8cd850a5d2526b83bf3862ec86c430f718947294.tar.xz
pygobject-8cd850a5d2526b83bf3862ec86c430f718947294.zip
More PyString to _PyUnicode or _PyByteArray
Diffstat (limited to 'glib/pyglib-python-compat.h')
-rw-r--r--glib/pyglib-python-compat.h1
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