diff options
Diffstat (limited to 'xpdf/Dict.h')
-rw-r--r-- | xpdf/Dict.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xpdf/Dict.h b/xpdf/Dict.h index 1f3f8b5..301d0b8 100644 --- a/xpdf/Dict.h +++ b/xpdf/Dict.h @@ -17,15 +17,12 @@ #include "Object.h" +struct DictEntry; + //------------------------------------------------------------------------ // Dict //------------------------------------------------------------------------ -struct DictEntry { - char *key; - Object val; -}; - class Dict { public: @@ -67,11 +64,14 @@ private: XRef *xref; // the xref table for this PDF file DictEntry *entries; // array of entries + DictEntry **hashTab; // hash table pointers int size; // size of <entries> array int length; // number of entries in dictionary int ref; // reference count DictEntry *find(const char *key); + void expand(); + int hash(const char *key); }; #endif |