prg_bin_hash_table_item_get()
Abstract
Returns the value associated with a given key.
Syntax
prg_bin_hash_table_item_get (hash_ptr, key)
| Argument | Type | Description |
|---|---|---|
hash_ptr |
PrgT_Bin_Hash_Table * |
Hash table of interest. |
key |
const void * |
Key to the desired item. |
Return Type
void *
Pointer to the value associated with key, or PRGC_NIL if key is not found in the hash table.
Header
prg_bin_hash.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.