prg_mapping_destroy()
Abstract
Destroys a mapping data structure created using prg_mapping_create.
Syntax
prg_mapping_destroy (mapping_handle)
| Argument | Type | Description |
|---|---|---|
mapping_handle |
PrgT_Mapping_Handle |
mapping data structure returned by a prg_mapping_create() call |
Return Type
void
No return value.
Header
prg_mapping.h
Details
This function destroys a mapping data structure created using prg_mapping_create(). Values stored in the mapping at the time of destruction are destroyed using the destroy_proc specified in the prg_mapping_create() function. If a value of PRGC_NIL was provided as the destroy_proc, the values are not destroyed.