diff options
Diffstat (limited to 'gdb/dictionary.h')
-rw-r--r-- | gdb/dictionary.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/dictionary.h b/gdb/dictionary.h index eea273b..75edd7f 100644 --- a/gdb/dictionary.h +++ b/gdb/dictionary.h @@ -136,6 +136,10 @@ extern struct symbol *dict_iter_name_first (const struct dictionary *dict, extern struct symbol *dict_iter_name_next (const char *name, struct dict_iterator *iterator); +/* Return some notion of the size of the dictionary: the number of + symbols if we have that, the number of hash buckets otherwise. */ + +extern int dict_size (const struct dictionary *dict); /* Macro to loop through all symbols in a dictionary DICT, in no particular order. ITER is a struct dict_iterator (NOTE: __not__ a |