prg_string_hash_table_item_get()
Abstract
Returns the value associated with a given key.
Syntax
prg_string_hash_table_item_get (hash_table_ptr, key_string)
| Argument | Type | Description |
|---|---|---|
hash_table_ptr |
PrgT_Sting_Hash_Table * |
Pointer to the hash table of interest. |
key_string |
const char * |
Key associated with the value to be returned from the table. |
Return Type
void *
The value associated with the specified key, or PRGC_NIL if the key does not appear in the hash table.
Header
prg_string_hash_funcs.h
Details
None.
WARNING: This function is MT unsafe, as described in “Multi-Threading Safety“ on page 11. Access to shared hash tables must be externally serialized.