21 |
#ifndef WPT_ERRORS_H |
#ifndef WPT_ERRORS_H |
22 |
#define WPT_ERRORS_H |
#define WPT_ERRORS_H |
23 |
|
|
24 |
|
#define w32_errno ((int)GetLastError ()) |
25 |
|
|
26 |
#define DEBUG(MSG) debug (MSG, __FILE__, __LINE__) |
#define DEBUG(MSG) debug (MSG, __FILE__, __LINE__) |
27 |
#define DEBUG_F(MSG) debug_f (MSG, __FILE__, __LINE__) |
#define DEBUG_F(MSG) debug_f (MSG, __FILE__, __LINE__) |
28 |
|
|
77 |
void winpt_debug_msg (void); |
void winpt_debug_msg (void); |
78 |
void debug_box (const char * msg, const char * file, int line); |
void debug_box (const char * msg, const char * file, int line); |
79 |
void debug_f (const char * msg, const char * file, int line); |
void debug_f (const char * msg, const char * file, int line); |
80 |
void log_f (const char * format, ...); |
void log_debug (const char * format, ...); |
81 |
int log_box (const char * title, int style, const char * format, ...); |
int log_box (const char * title, int style, const char * format, ...); |
82 |
|
|
83 |
/*-- wptW32API.cpp --*/ |
/*-- wptW32API.cpp --*/ |