diff options
author | Tom Tromey <tromey@redhat.com> | 2012-11-12 17:30:06 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-11-12 17:30:06 +0000 |
commit | 2621e0fd5c40e316dfac2a492972a1344c6a0583 (patch) | |
tree | 5930d1a152ef702fdd006950f4da952fdd578876 /gdb/cp-support.h | |
parent | 53342f27db8e8a418ac202335ac2e55af50c1c2f (diff) | |
download | gdb-2621e0fd5c40e316dfac2a492972a1344c6a0583.zip gdb-2621e0fd5c40e316dfac2a492972a1344c6a0583.tar.gz gdb-2621e0fd5c40e316dfac2a492972a1344c6a0583.tar.bz2 |
* cp-support.c (inspect_type,
replace_typedefs_qualified_name, replace_typedefs): Add
finder, data arguments. Call as needed.
(cp_canonicalize_string_full): New function.
(cp_canonicalize_string_no_typedefs): Rewrite.
* cp-support.h (canonicalization_ftype): New typedef.
(cp_canonicalize_string_full): Declare.
Diffstat (limited to 'gdb/cp-support.h')
-rw-r--r-- | gdb/cp-support.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/cp-support.h b/gdb/cp-support.h index 0d2b513..86ccd5e 100644 --- a/gdb/cp-support.h +++ b/gdb/cp-support.h @@ -149,6 +149,12 @@ extern char *cp_canonicalize_string (const char *string); extern char *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 char *cp_class_name_from_physname (const char *physname); extern char *method_name_from_physname (const char *physname); |