comparison include/hashtab.h @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 /* An expandable hash tables datatype. 1 /* An expandable hash tables datatype.
2 Copyright (C) 1999-2018 Free Software Foundation, Inc. 2 Copyright (C) 1999-2020 Free Software Foundation, Inc.
3 Contributed by Vladimir Makarov (vmakarov@cygnus.com). 3 Contributed by Vladimir Makarov (vmakarov@cygnus.com).
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or 7 the Free Software Foundation; either version 2 of the License, or
171 extern void ** htab_find_slot (htab_t, const void *, enum insert_option); 171 extern void ** htab_find_slot (htab_t, const void *, enum insert_option);
172 extern void * htab_find_with_hash (htab_t, const void *, hashval_t); 172 extern void * htab_find_with_hash (htab_t, const void *, hashval_t);
173 extern void ** htab_find_slot_with_hash (htab_t, const void *, 173 extern void ** htab_find_slot_with_hash (htab_t, const void *,
174 hashval_t, enum insert_option); 174 hashval_t, enum insert_option);
175 extern void htab_clear_slot (htab_t, void **); 175 extern void htab_clear_slot (htab_t, void **);
176 extern void htab_remove_elt (htab_t, void *); 176 extern void htab_remove_elt (htab_t, const void *);
177 extern void htab_remove_elt_with_hash (htab_t, void *, hashval_t); 177 extern void htab_remove_elt_with_hash (htab_t, const void *, hashval_t);
178 178
179 extern void htab_traverse (htab_t, htab_trav, void *); 179 extern void htab_traverse (htab_t, htab_trav, void *);
180 extern void htab_traverse_noresize (htab_t, htab_trav, void *); 180 extern void htab_traverse_noresize (htab_t, htab_trav, void *);
181 181
182 extern size_t htab_size (htab_t); 182 extern size_t htab_size (htab_t);