prg_mapping_value_add()
Abstract
Adds a value to the mapping data structure.
Syntax
prg_mapping_value_add (mapping_handle, value)
| Argument | Type | Description |
|---|---|---|
mapping_handle |
PrgT_Mapping_Handle |
mapping data structure returned by a prg_mapping_create() call |
value |
void * |
value to add to the mapping |
Return Type
PrgT_Compcode
PrgC_Compcode_Success if the value was successfully added; PrgC_Compcode_Failure otherwise (for example, if the element already exists).
Header
prg_mapping.h
Details
Add the specified value (if its key does not match the key of an existing element) to a mapping data structure created with prg_mapping_create().