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