prg_mapping_value_get()
Abstract
Searches for a value whose key matches the provided key.
Syntax
prg_mapping_value_get (mapping_handle, key)
| Argument | Type | Description |
|---|---|---|
mapping_handle |
PrgT_Mapping_Handle |
mapping data structure returned by a prg_mapping_create() call |
key |
void * |
key to match |
Return Type
void *
Value matching the specified key, or PRGC_NIL if no match was found.
Header
prg_mapping.h
Details
Search in the mapping for a value whose key matches the provided key. If successful, returns the value in question (which is not removed from the mapping). Otherwise returns PRGC_NIL.