summaryrefslogtreecommitdiff
path: root/python/cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/cache.cc')
-rw-r--r--python/cache.cc11
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
{