diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-07-16 15:42:50 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-07-16 15:42:50 +0200 |
| commit | 16995d9f7f53d93f08ae0b438c70ea9d5e4d35e1 (patch) | |
| tree | f1042e4766d4c3a0da0aa627e7c35c157844e988 /python/python-apt.h | |
| parent | 5e3b11ad62c893fc3f46e748afdd4db5ce2d3672 (diff) | |
| download | python-apt-16995d9f7f53d93f08ae0b438c70ea9d5e4d35e1.tar.gz | |
python/python-apt: PyAcquireItem_Type, not PyAcquireItemType.
Diffstat (limited to 'python/python-apt.h')
| -rw-r--r-- | python/python-apt.h | 2 |
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__) |
