Improve precision of interference analysis. Allow sizeof(v.r1.r2) expressions.
[repair.git] / Repair / RepairInterpreter / Hashtable.h
1 #ifndef Hashtable_H
2 #define Hashtable_H
3
4 #include "GenericHashtable.h"
5 #include "classlist.h"
6
7 class Hashtable {
8  public:
9   Hashtable();
10   Hashtable(unsigned int (*hash_function)(void *),int (*comp_function)(void *, void *));
11   ~Hashtable();
12   void put(void *key, void*object);
13   void remove(void *key);
14   void* get(void *key);
15   bool contains(void *key);
16   void setparent(Hashtable *parent);
17  private:
18   Hashtable *parent;
19   struct genhashtable *forward;
20 };
21
22 #endif