Lua: finished inputbox with negative and decimal inputs. Added to the repository more than 20(!) new scripts by DawnBringer
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1357 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
10
errors.h
10
errors.h
@@ -42,3 +42,13 @@ void Error_function(int error_code, const char *filename, int line_number, const
|
||||
/// - If the error code is 0, just do a red screen flash and resume.
|
||||
/// - If the error code is non-zero, abort the program.
|
||||
#define Error(n) Error_function(n, __FILE__,__LINE__,__func__)
|
||||
|
||||
/// Helper function used by the macro ::Warning
|
||||
void Warning_function(const char *message, const char *filename, int line_number, const char *function_name);
|
||||
|
||||
///
|
||||
/// Report a run-time abnormal condition : It will print to standard output
|
||||
/// some information about the calling function, and then resume silently.
|
||||
/// This is most useful in debugger so you can put a breakpoint on
|
||||
/// ::Warning_function and examine the stack trace.
|
||||
#define Warning(msg) Warning_function(msg, __FILE__,__LINE__,__func__)
|
||||
Reference in New Issue
Block a user