X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=include%2Fhashtable.h;h=d0d12ae7c5b5ab8d80674371cf5bd8f51d55e09e;hb=973c2b13fe82d6ebd030cd58869fa237b1fe5370;hp=3fb5d6cff3ff3844a1d367e31208a139ffba3c30;hpb=4ae7c1069667d8f067258d89676126f9b44226d6;p=nbds diff --git a/include/hashtable.h b/include/hashtable.h index 3fb5d6c..d0d12ae 100644 --- a/include/hashtable.h +++ b/include/hashtable.h @@ -18,7 +18,7 @@ ht_iter_t * ht_iter_begin (hashtable_t *ht, map_key_t key); map_val_t ht_iter_next (ht_iter_t *iter, map_key_t *key_ptr); void ht_iter_free (ht_iter_t *iter); -static const map_impl_t ht_map_impl = { +static const map_impl_t MAP_IMPL_HT = { (map_alloc_t)ht_alloc, (map_cas_t)ht_cas, (map_get_t)ht_get, (map_remove_t)ht_remove, (map_count_t)ht_count, (map_print_t)ht_print, (map_free_t)ht_free, (map_iter_begin_t)ht_iter_begin, (map_iter_next_t)ht_iter_next, (map_iter_free_t)ht_iter_free