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

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

* empty log message *

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