CMagic  0.5.0
Portable C library of utilities and data structures
Public Attributes | List of all members
cmagic_set_insert_result_t Struct Reference

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...
 

Detailed Description

Set insertion result.

Member Data Documentation

◆ already_exists

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

◆ inserted_or_existing

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


The documentation for this struct was generated from the following file: