215 _end_block = src->_end_block; |
215 _end_block = src->_end_block; |
216 src->_end_block = NULL; |
216 src->_end_block = NULL; |
217 } |
217 } |
218 |
218 |
219 // Free the buckets in this hashtable |
219 // Free the buckets in this hashtable |
220 void free_buckets() { |
220 void free_buckets(); |
221 if (NULL != _buckets) { |
|
222 FREE_C_HEAP_ARRAY(HashtableBucket, _buckets); |
|
223 _buckets = NULL; |
|
224 } |
|
225 } |
|
226 |
221 |
227 public: |
222 public: |
228 int table_size() { return _table_size; } |
223 int table_size() { return _table_size; } |
229 void set_entry(int index, BasicHashtableEntry* entry); |
224 void set_entry(int index, BasicHashtableEntry* entry); |
230 |
225 |