source: trunk/include/win/debugstr.h@ 636

Last change on this file since 636 was 636, checked in by sandervl, 26 years ago

Added new headers for OLEAUT32

File size: 772 bytes
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) a
11#define debugstr_w(a) a
12
13extern LPSTR debugstr_an (LPCSTR s, int n);
14//extern LPSTR debugstr_a (LPCSTR s);
15extern LPSTR debugstr_wn (LPCWSTR s, int n);
16//extern LPSTR debugstr_w (LPCWSTR s);
17extern LPSTR debugres_a (LPCSTR res);
18extern LPSTR debugres_w (LPCWSTR res);
19extern void debug_dumpstr (LPCSTR s);
20
21#ifdef __GNUC__
22extern int dbg_printf(const char *format, ...) __attribute__((format (printf,1,2)));
23#else
24extern int dbg_printf(const char *format, ...);
25#endif
26
27#endif /* __WINE_DEBUGSTR_H */
Note: See TracBrowser for help on using the repository browser.