diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2006-07-12 01:16:03 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2006-07-12 01:16:03 +0000 |
commit | dbe2670b69e163cb146d3fc3b3c7b82ea3f71278 (patch) | |
tree | 6c9163067c52e387b24593f545fa2c549e4b4acf /Hashtable.h | |
parent | e46f1426b906433c291de05432de9a9a43e14f4a (diff) |
Perform RichString operations by hand.
Avoid unnecessary operations when processing entries on ProcessList.
Diffstat (limited to 'Hashtable.h')
-rw-r--r-- | Hashtable.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Hashtable.h b/Hashtable.h index a5f2434d..df481f2d 100644 --- a/Hashtable.h +++ b/Hashtable.h @@ -18,7 +18,6 @@ in the source distribution for its full text. typedef struct Hashtable_ Hashtable; typedef void(*Hashtable_PairFunction)(int, void*, void*); -typedef int(*Hashtable_HashAlgorithm)(Hashtable*, int); typedef struct HashtableItem { int key; @@ -30,7 +29,6 @@ struct Hashtable_ { int size; HashtableItem** buckets; int items; - Hashtable_HashAlgorithm hashAlgorithm; bool owner; }; @@ -38,8 +36,6 @@ HashtableItem* HashtableItem_new(int key, void* value); Hashtable* Hashtable_new(int size, bool owner); -int Hashtable_hashAlgorithm(Hashtable* this, int key); - void Hashtable_delete(Hashtable* this); inline int Hashtable_size(Hashtable* this); |