diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2005-03-31 18:30:03 +0000 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2005-03-31 18:30:03 +0000 |
| commit | 65fc206205e13da3fab7438dcb4501231f6f88ac (patch) | |
| tree | 44d6f2659debf9d35a2acf2fac92aacbc3f0174a /python/cache.cc | |
| parent | 67b5de8d0564a0f349766ffa26ffbcc5a6fdab6e (diff) | |
| download | python-apt-65fc206205e13da3fab7438dcb4501231f6f88ac.tar.gz | |
* merged with the pkgDepCache tree
Patches applied:
* michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-10
* version number is 0.5.36ubuntu1
* michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-11
* return "None" in GetCandidateVer if no Candidate is found
* michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-12
* changelog entry
* michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-13
* never do "DepCache.Init()" implicit
* michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-14
* reference counting added for Py_None
Diffstat (limited to 'python/cache.cc')
| -rw-r--r-- | python/cache.cc | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/python/cache.cc b/python/cache.cc index 9ad558da..126ab15d 100644 --- a/python/cache.cc +++ b/python/cache.cc @@ -20,9 +20,16 @@ #include <Python.h> #include "progress.h" -#include "cache.h" - /*}}}*/ + /*}}}*/ +struct PkgListStruct +{ + pkgCache::PkgIterator Iter; + unsigned long LastIndex; + + PkgListStruct(pkgCache::PkgIterator const &I) : Iter(I), LastIndex(0) {} + PkgListStruct() {abort();}; // G++ Bug.. +}; struct RDepListStruct { |
