diff options
Diffstat (limited to 'runtime/dex_file.h')
-rw-r--r-- | runtime/dex_file.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/dex_file.h b/runtime/dex_file.h index e121a08..c8ede48 100644 --- a/runtime/dex_file.h +++ b/runtime/dex_file.h @@ -1028,6 +1028,13 @@ class DexFile { // from an oat file, e.g., directly from an apk. const OatFile* oat_file_; }; + +struct DexFileReference { + DexFileReference(const DexFile* file, uint32_t idx) : dex_file(file), index(idx) { } + const DexFile* dex_file; + uint32_t index; +}; + std::ostream& operator<<(std::ostream& os, const DexFile& dex_file); // Iterate over a dex file's ProtoId's paramters |