Mercurial > repos > blastem
comparison util.h @ 799:0b692b5d154b
Merge
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 26 Jul 2015 13:25:31 -0700 |
parents | 792be135d3af |
children | 69a6ec208111 |
comparison
equal
deleted
inserted
replaced
798:062a2199daf6 | 799:0b692b5d154b |
---|---|
23 char * get_exe_dir(); | 23 char * get_exe_dir(); |
24 //Returns the user's home directory | 24 //Returns the user's home directory |
25 char * get_home_dir(); | 25 char * get_home_dir(); |
26 //Returns the contents of a symlink in a newly allocated string | 26 //Returns the contents of a symlink in a newly allocated string |
27 char * readlink_alloc(char * path); | 27 char * readlink_alloc(char * path); |
28 //Prints an error message to stderr and to a message box if not in headless mode and then exits | |
29 void fatal_error(char *format, ...); | |
30 //Prints an information message to stdout and to a message box if not in headless mode and not attached to a console | |
31 void info_message(char *format, ...); | |
32 //Prints an information message to stderr and to a message box if not in headless mode and not attached to a console | |
33 void warning(char *format, ...); | |
28 | 34 |
29 #endif //UTIL_H_ | 35 #endif //UTIL_H_ |