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

Last change on this file since 5120 was 4124, checked in by sandervl, 25 years ago

header updates

File size: 746 bytes
Line 
1/* $Id: debugstr.h,v 1.3 2000-08-30 13:56:37 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_a (LPCSTR s);
15//extern LPSTR debugstr_w (LPCWSTR s);
16extern LPSTR debugres_a (LPCSTR res);
17extern LPSTR debugres_w (LPCWSTR res);
18extern void debug_dumpstr (LPCSTR s);
19
20#ifdef __GNUC__
21extern int dbg_printf(const char *format, ...) __attribute__((format (printf,1,2)));
22#else
23extern int dbg_printf(const char *format, ...);
24#endif
25
26#endif /* __WINE_DEBUGSTR_H */
Note: See TracBrowser for help on using the repository browser.