Line | |
---|
1 | #ifndef __WINE_DEBUGSTR_H
|
---|
2 | #define __WINE_DEBUGSTR_H
|
---|
3 |
|
---|
4 | #include "windef.h"
|
---|
5 |
|
---|
6 | /* These function return a printable version of a string, including
|
---|
7 | quotes. The string will be valid for some time, but not indefinitely
|
---|
8 | as strings are re-used. */
|
---|
9 |
|
---|
10 | #define debugstr_a(a) debugstr_an(a, 80)
|
---|
11 | #define debugstr_w(a) debugstr_wn(a, 80)
|
---|
12 |
|
---|
13 | //extern LPSTR debugstr_a (LPCSTR s);
|
---|
14 | //extern LPSTR debugstr_w (LPCWSTR s);
|
---|
15 | extern LPSTR debugres_a (LPCSTR res);
|
---|
16 | extern LPSTR debugres_w (LPCWSTR res);
|
---|
17 | extern void debug_dumpstr (LPCSTR s);
|
---|
18 |
|
---|
19 | #ifdef __GNUC__
|
---|
20 | extern int dbg_printf(const char *format, ...) __attribute__((format (printf,1,2)));
|
---|
21 | #else
|
---|
22 | extern int dbg_printf(const char *format, ...);
|
---|
23 | #endif
|
---|
24 |
|
---|
25 | #endif /* __WINE_DEBUGSTR_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.