/**
 * Return the number of specific elements in an multimap
 */
size_t _multimap_count(const multimap_t* cpmmap_map, ...)
{
    size_t t_count = 0;
    va_list val_elemlist;

    va_start(val_elemlist, cpmmap_map);
    t_count = _multimap_count_varg(cpmmap_map, val_elemlist);
    va_end(val_elemlist);

    return t_count;
}
Example #2
0
size_t _multimap_count(const multimap_t* cpt_multimap, ...)
{
    va_list val_elemlist;
    va_start(val_elemlist, cpt_multimap);
    return _multimap_count_varg(cpt_multimap, val_elemlist);
}