From 17427c9ba39b56c178e90fde22387d5f2ec525e1 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 24 Jul 2009 15:12:49 +0200 Subject: python/python-apt.h: Fix PyCdrom_FromCpp to use pkgCdrom, not pkgCdrom*. --- python/python-apt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/python-apt.h') diff --git a/python/python-apt.h b/python/python-apt.h index fb84b394..08242c08 100644 --- a/python/python-apt.h +++ b/python/python-apt.h @@ -245,7 +245,7 @@ inline CppOwnedPyObject *FromCppOwned(PyTypeObject *pytype, Cpp const &obj, # define PyActionGroup_FromCpp(...) FromCppOwned(&PyActionGroup_Type,##__VA_ARGS__) # define PyCache_FromCpp(...) FromCppOwned(&PyCache_Type,##__VA_ARGS__) # define PyCacheFile_FromCpp(...) FromCpp(&PyCacheFile_Type,##__VA_ARGS__) -# define PyCdrom_FromCpp(...) FromCpp(&PyCdrom_Type,##__VA_ARGS__) +# define PyCdrom_FromCpp(...) FromCpp(&PyCdrom_Type,##__VA_ARGS__) # define PyConfiguration_FromCpp(...) FromCppOwned(&PyConfiguration_Type, ##__VA_ARGS__) # define PyDepCache_FromCpp(...) FromCppOwned(&PyDepCache_Type,##__VA_ARGS__) # define PyDependency_FromCpp(...) FromCppOwned(&PyDependency_Type,##__VA_ARGS__) -- cgit v1.2.3