CMagic
0.5.0
Portable C library of utilities and data structures
|
Map insertion result. More...
#include <map.h>
Public Attributes | |
cmagic_map_iterator_t | inserted_or_existing |
iterator pointing to a new or already existing element or NULL if the allocation of a new element has failed More... | |
bool | already_exists |
true if the element already exists in the map and the map was not modified, false if a new element has been allocated More... | |
Map insertion result.
bool cmagic_map_insert_result_t::already_exists |
true
if the element already exists in the map and the map was not modified, false
if a new element has been allocated
cmagic_map_iterator_t cmagic_map_insert_result_t::inserted_or_existing |
iterator pointing to a new or already existing element or NULL
if the allocation of a new element has failed