summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-07-15 14:14:44 +0200
committerJulian Andres Klode <jak@debian.org>2009-07-15 14:14:44 +0200
commit360477dcc304b8a18c467e59435d8c766bbb76bb (patch)
treeb4e2406964c10600c36681fd4888425383460940 /python/apt_pkgmodule.h
parent7009c7dff71064526dafd0ed114f39c970448da0 (diff)
downloadpython-apt-360477dcc304b8a18c467e59435d8c766bbb76bb.tar.gz
python/python-apt.h: Introduce the C++ API
The C++ API provides support for creating Python objects from C++ objects given by pointer or reference (depending on the implementation of the Python object) and for retrieving the underlying C++ object from the Python object and for checking the type of the Python object.
Diffstat (limited to 'python/apt_pkgmodule.h')
-rw-r--r--python/apt_pkgmodule.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/apt_pkgmodule.h b/python/apt_pkgmodule.h
index f77c5e73..97be5d5c 100644
--- a/python/apt_pkgmodule.h
+++ b/python/apt_pkgmodule.h
@@ -104,7 +104,6 @@ extern PyTypeObject PyPackageIndexFile_Type;
extern PyTypeObject PyMetaIndex_Type;
// HashString
-PyObject *PyHashString_FromCpp(HashString *obj);
extern PyTypeObject PyHashString_Type;
// IndexRecord
@@ -113,5 +112,6 @@ extern PyTypeObject PyIndexRecords_Type;
// Policy
extern PyTypeObject PyPolicy_Type;
extern PyTypeObject PyHashes_Type;
-
+#include "python-apt.h"
#endif
+