comparison util.h @ 1792:52a47611a273

Avoid printing a bunch of junk to stdout when GDB remote debugging is enabled as this can confuse GDB
author Michael Pavone <pavone@retrodev.com>
date Wed, 20 Mar 2019 22:05:27 -0700
parents eda8df5bc74c
children a4cae960fd08
comparison
equal deleted inserted replaced
1791:1843823f1e9b 1792:52a47611a273
82 void fatal_error(char *format, ...); 82 void fatal_error(char *format, ...);
83 //Prints an information message to stdout and to a message box if not in headless mode and not attached to a console 83 //Prints an information message to stdout and to a message box if not in headless mode and not attached to a console
84 void info_message(char *format, ...); 84 void info_message(char *format, ...);
85 //Prints an information message to stderr and to a message box if not in headless mode and not attached to a console 85 //Prints an information message to stderr and to a message box if not in headless mode and not attached to a console
86 void warning(char *format, ...); 86 void warning(char *format, ...);
87 //Prints a debug message to stdout
88 void debug_message(char *format, ...);
89 //Disables output of info and debug messages to stdout
90 void disable_stdout_messages(void);
87 91
88 #endif //UTIL_H_ 92 #endif //UTIL_H_