term: add an enhanced error reporting function
This commit is contained in:
@@ -12,6 +12,10 @@
|
||||
|
||||
struct b_tty;
|
||||
|
||||
struct b_error;
|
||||
struct b_error_vendor;
|
||||
enum b_error_report_flags;
|
||||
|
||||
typedef enum b_paragraph_format_flags {
|
||||
B_PARAGRAPH_DONT_INDENT_FIRST_LINE = 0x01u,
|
||||
B_PARAGRAPH_HYPHENATE = 0x02u,
|
||||
@@ -39,7 +43,10 @@ BLUE_API b_status b_print_paragraph(
|
||||
const char *str, struct b_tty *tty, b_paragraph_format *format);
|
||||
|
||||
BLUE_API int b_putc(char c);
|
||||
BLUE_API int b_puts(const char* s);
|
||||
BLUE_API int b_printf(const char* format, ...);
|
||||
BLUE_API int b_puts(const char *s);
|
||||
BLUE_API int b_printf(const char *format, ...);
|
||||
|
||||
#endif
|
||||
BLUE_API void b_enhanced_error_reporter(
|
||||
const struct b_error *, enum b_error_report_flags flags);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user