diff options
Diffstat (limited to 'src/hashtable.h')
| -rw-r--r-- | src/hashtable.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/hashtable.h b/src/hashtable.h index d14be71..b015107 100644 --- a/src/hashtable.h +++ b/src/hashtable.h | |||
| @@ -175,6 +175,13 @@ public: | |||
| 175 | */ | 175 | */ |
| 176 | bool del( const void *id, int nSkip=0 ); | 176 | bool del( const void *id, int nSkip=0 ); |
| 177 | 177 | ||
| 178 | /** | ||
| 179 | * Deletes every entry in the hash table. See the notes on del to see what | ||
| 180 | * this means, except that since no data is being kept, the entire table is | ||
| 181 | * just marked as usable space. | ||
| 182 | */ | ||
| 183 | void clear(); | ||
| 184 | |||
| 178 | private: | 185 | private: |
| 179 | /** | 186 | /** |
| 180 | * Contains info related to a position in the hashtable. Used for | 187 | * Contains info related to a position in the hashtable. Used for |
