Turn tui_erase_source_content into a method
[external/binutils.git] / gdb / exceptions.h
index 083313b..e169b25 100644 (file)
 
 /* If E is an exception, print it's error message on the specified
    stream.  For _fprintf, prefix the message with PREFIX...  */
-extern void exception_print (struct ui_file *file, struct gdb_exception e);
-extern void exception_fprintf (struct ui_file *file, struct gdb_exception e,
+extern void exception_print (struct ui_file *file,
+                            const struct gdb_exception &e);
+extern void exception_fprintf (struct ui_file *file,
+                              const struct gdb_exception &e,
                               const char *prefix,
                               ...) ATTRIBUTE_PRINTF (3, 4);
 
 /* Compare two exception objects for print equality.  */
-extern int exception_print_same (struct gdb_exception e1,
-                                struct gdb_exception e2);
+extern int exception_print_same (const struct gdb_exception &e1,
+                                const struct gdb_exception &e2);
 #endif