Beispiel #1
0
/**
 * Destroy hash_set.
 */
void hash_set_destroy(hash_set_t* phset_set)
{
    _hash_set_destroy_auxiliary(phset_set);
    free(phset_set);
}
void _type_destroy_hash_set(const void* cpv_input, void* pv_output)
{
    assert(cpv_input != NULL && pv_output != NULL);
    _hash_set_destroy_auxiliary((hash_set_t*)cpv_input);
    *(bool_t*)pv_output = true;
}