prg_string_hash_table_values_get()
Abstract
Returns a list of all the values in the hash table.
Syntax
prg_string_hash_table_values_get (hash_table_ptr)
| Argument | Type | Description |
|---|---|---|
hash_table_ptr |
PrgT_Sting_Hash_Table * |
Pointer to the hash table of interest. |
Return Type
PrgT_List *
List of all the values in the hash table.
Header
prg_string_hash_funcs.h
Details
Typically, this function is used to efficiently iterate over all of the objects in a table. Values are still owned by the hash table and should not be destroyed by the user when freeing the returned list.
WARNING: This function is MT unsafe, as described in “Multi-Threading Safety“ on page 11. Access to shared hash tables must be externally serialized.