CMagic
0.5.0
Portable C library of utilities and data structures
|
Set insertion result. More...
#include <set.h>
Public Attributes | |
cmagic_set_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 set and the set was not modified, false if a new element has been allocated More... | |
Set insertion result.
bool cmagic_set_insert_result_t::already_exists |
true
if the element already exists in the set and the set was not modified, false
if a new element has been allocated
cmagic_set_iterator_t cmagic_set_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