working on unload and added getsize to hashtable

This commit is contained in:
herbglitch 2025-03-09 06:20:07 -06:00
parent 3fbccd9752
commit ba467ac6b6
3 changed files with 53 additions and 1 deletions

View file

@ -104,6 +104,15 @@ void ARC_Hashtable_Clear(ARC_Hashtable *hashtable);
*/
void *ARC_Hashtable_Get(ARC_Hashtable *hashtable, void *key);
/**
* @brief gets the number of elements stored in the hashtable
*
* @param[in] hashtable the hashtable to get number of elements from
*
* @return the size of the vector
*/
uint32_t ARC_Hashtable_GetSize(ARC_Hashtable *hashtable);
/**
* @brief iterates through a hashtable passing available key value pairs to a callback
*