summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-07-16 15:42:50 +0200
committerJulian Andres Klode <jak@debian.org>2009-07-16 15:42:50 +0200
commit16995d9f7f53d93f08ae0b438c70ea9d5e4d35e1 (patch)
treef1042e4766d4c3a0da0aa627e7c35c157844e988 /python
parent5e3b11ad62c893fc3f46e748afdd4db5ce2d3672 (diff)
downloadpython-apt-16995d9f7f53d93f08ae0b438c70ea9d5e4d35e1.tar.gz
python/python-apt: PyAcquireItem_Type, not PyAcquireItemType.
Diffstat (limited to 'python')
-rw-r--r--python/python-apt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/python-apt.h b/python/python-apt.h
index 53f6b0bb..fa589c55 100644
--- a/python/python-apt.h
+++ b/python/python-apt.h
@@ -233,7 +233,7 @@ inline PyObject *FromCppOwned(PyTypeObject *pytype, Cpp const &obj,
# define PyAcquire_FromCpp(...) FromCpp<pkgAcquire*>(&PyAcquire_Type, ##__VA_ARGS__)
# define PyAcquireFile_FromCpp(...) FromCppOwned<pkgAcqFile*>(&PyAcquireFile_Type, ##__VA_ARGS__)
-# define PyAcquireItem_FromCpp(...) FromCppOwned<pkgAcquire::Item*>(&PyAcquireItemType,##__VA_ARGS__)
+# define PyAcquireItem_FromCpp(...) FromCppOwned<pkgAcquire::Item*>(&PyAcquireItem_Type,##__VA_ARGS__)
# define PyAcquireItemDesc_FromCpp(...) FromCppOwned<pkgAcquire::ItemDesc>(&PyAcquireItemDesc_Type,##__VA_ARGS__)
# define PyActionGroup_FromCpp(...) FromCppOwned<pkgDepCache::ActionGroup*>(&PyActionGroup_Type,##__VA_ARGS__)
# define PyCache_FromCpp(...) FromCppOwned<pkgCache*>(&PyCache_Type,##__VA_ARGS__)