diff options
Diffstat (limited to 'python/pkgrecords.h')
-rw-r--r-- | python/pkgrecords.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/python/pkgrecords.h b/python/pkgrecords.h new file mode 100644 index 0000000..1e26c8c --- /dev/null +++ b/python/pkgrecords.h @@ -0,0 +1,10 @@ +#include <apt-pkg/pkgrecords.h> + +struct PkgRecordsStruct +{ + pkgRecords Records; + pkgRecords::Parser *Last; + + PkgRecordsStruct(pkgCache *Cache) : Records(*Cache), Last(0) {}; + PkgRecordsStruct() : Records(*(pkgCache *)0) {abort();}; // G++ Bug.. +}; |