Make the objfile destructor private
[deliverable/binutils-gdb.git] / gdb / psympriv.h
index 3e89742d8d5773c70696b9ed6a14fe3156546b31..19d692bd230e7019481d1deb9f480d00e755af6d 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "psymtab.h"
 #include "objfiles.h"
+#include "gdbsupport/gdb_string_view.h"
 
 /* A partial_symbol records the name, domain, and address class of
    symbols whose types we have not parsed yet.  For functions, it also
@@ -304,7 +305,7 @@ enum class psymbol_placement
    LANGUAGE is the language from which the symbol originates.  This will
    influence, amongst other things, how the symbol name is demangled. */
 
-extern void add_psymbol_to_list (const char *name, int namelength,
+extern void add_psymbol_to_list (gdb::string_view name,
                                 bool copy_name, domain_enum domain,
                                 enum address_class theclass,
                                 short section,
This page took 0.025241 seconds and 4 git commands to generate.