Move some declarations to source.h
[deliverable/binutils-gdb.git] / gdb / dictionary.h
index e4a9315be8c50e11dbed119ef46b5dcd72b4cfcb..c80a4b4fe2ac04d6f75f5528eff711cfdc098324 100644 (file)
@@ -1,6 +1,6 @@
 /* Routines for name->symbol lookups in GDB.
    
-   Copyright (C) 2003-2017 Free Software Foundation, Inc.
+   Copyright (C) 2003-2018 Free Software Foundation, Inc.
 
    Contributed by David Carlton <carlton@bactrian.org> and by Kealia,
    Inc.
@@ -133,8 +133,7 @@ extern struct symbol *dict_iterator_next (struct dict_iterator *iterator);
    if there are no such symbols.  */
 
 extern struct symbol *dict_iter_match_first (const struct dictionary *dict,
-                                            const char *name,
-                                            symbol_compare_ftype *compare,
+                                            const lookup_name_info &name,
                                             struct dict_iterator *iterator);
 
 /* Advance ITERATOR to point at the next symbol in DICT whose
@@ -145,8 +144,7 @@ extern struct symbol *dict_iter_match_first (const struct dictionary *dict,
    iteration.  And don't call it unless ITERATOR was created by a
    previous call to dict_iter_match_first with the same NAME and COMPARE.  */
 
-extern struct symbol *dict_iter_match_next (const char *name,
-                                           symbol_compare_ftype *compare,
+extern struct symbol *dict_iter_match_next (const lookup_name_info &name,
                                            struct dict_iterator *iterator);
 
 /* Return some notion of the size of the dictionary: the number of
This page took 0.02461 seconds and 4 git commands to generate.