summaryrefslogtreecommitdiff
path: root/python/generic.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-08-07 17:47:25 +0200
committerJulian Andres Klode <jak@debian.org>2009-08-07 17:47:25 +0200
commite526904d0440e720cbeebf895faf884717f3fbb3 (patch)
tree8438ba618219fd3525627225d5634a091524d6a7 /python/generic.h
parent68120a33ecb68da02cfb8124244be79ff5a2fad8 (diff)
downloadpython-apt-e526904d0440e720cbeebf895faf884717f3fbb3.tar.gz
python/arfile.cc: Introduce apt_inst.ArArchive and apt_inst.ArMember.
This is part one of wishlist Bug#536096, introducing classes in apt_inst.
Diffstat (limited to 'python/generic.h')
-rw-r--r--python/generic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/generic.h b/python/generic.h
index 75520914..d5d6e9fb 100644
--- a/python/generic.h
+++ b/python/generic.h
@@ -66,6 +66,7 @@ typedef int Py_ssize_t;
#define PyBytes_AS_STRING PyString_AS_STRING
#define PyBytes_AsString PyString_AsString
#define PyBytes_AsStringAndSize PyString_AsStringAndSize
+#define PyBytes_FromStringAndSize PyString_FromStringAndSize
#define PyVarObject_HEAD_INIT(type, size) PyObject_HEAD_INIT(type) size,
#endif
#endif