diff options
author | Julian Andres Klode <jak@debian.org> | 2011-04-15 14:25:43 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2011-04-15 14:25:43 +0200 |
commit | 076b71228a1439b7c871246c8cc29066ac2aaa70 (patch) | |
tree | 7f7d8e00cda627867ebbbe5657b77c00e622d16e /apt-pkg/pkgcache.h | |
parent | 9cfaed994f05e44edcd149d9a640eb499ee100ca (diff) | |
parent | 959470da73e7dc325321bb5024f1fd6d24bd9e9b (diff) |
Merge from DonKult
Diffstat (limited to 'apt-pkg/pkgcache.h')
-rw-r--r-- | apt-pkg/pkgcache.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apt-pkg/pkgcache.h b/apt-pkg/pkgcache.h index d654a2976..1b1743724 100644 --- a/apt-pkg/pkgcache.h +++ b/apt-pkg/pkgcache.h @@ -215,6 +215,7 @@ class pkgCache /*{{{*/ private: bool MultiArchEnabled; PkgIterator SingleArchFindPkg(const string &Name); + inline char const * const NativeArch() const; }; /*}}}*/ // Header structure /*{{{*/ @@ -649,6 +650,11 @@ struct pkgCache::StringItem map_ptrloc NextItem; // StringItem }; /*}}}*/ + + +inline char const * const pkgCache::NativeArch() const + { return StrP + HeaderP->Architecture; }; + #include <apt-pkg/cacheiterators.h> inline pkgCache::GrpIterator pkgCache::GrpBegin() |