Use gdbpy_ref in gdbpy_breakpoint_cond_says_stop
[deliverable/binutils-gdb.git] / gdb / cp-support.h
index 23ffd714649fc4a82f68b1c0f2844cac350b7362..b93e2d6c2c012b015c45e938083c361ca2a4a007 100644 (file)
@@ -1,5 +1,5 @@
 /* Helper routines for C++ support in GDB.
-   Copyright (C) 2002-2016 Free Software Foundation, Inc.
+   Copyright (C) 2002-2017 Free Software Foundation, Inc.
 
    Contributed by MontaVista Software.
    Namespace support contributed by David Carlton.
@@ -63,15 +63,15 @@ struct demangle_parse_info
 
 /* Functions from cp-support.c.  */
 
-extern char *cp_canonicalize_string (const char *string);
+extern std::string cp_canonicalize_string (const char *string);
 
-extern char *cp_canonicalize_string_no_typedefs (const char *string);
+extern std::string cp_canonicalize_string_no_typedefs (const char *string);
 
 typedef const char *(canonicalization_ftype) (struct type *, void *);
 
-extern char *cp_canonicalize_string_full (const char *string,
-                                         canonicalization_ftype *finder,
-                                         void *data);
+extern std::string cp_canonicalize_string_full (const char *string,
+                                               canonicalization_ftype *finder,
+                                               void *data);
 
 extern char *cp_class_name_from_physname (const char *physname);
 
This page took 0.026988 seconds and 4 git commands to generate.