declared wine_dbg_sprintf()

svn path=/trunk/; revision=7484
This commit is contained in:
Martin Fuchs 2004-01-06 16:38:40 +00:00
parent d4973a4ea4
commit a67fb59c6e

View file

@ -5,6 +5,11 @@
#include <stdarg.h> #include <stdarg.h>
#include <wchar.h> #include <wchar.h>
#ifndef __GNUC__
#define __FUNCTION__ ""
#define inline __inline
#endif
unsigned long DbgPrint(char *Format,...); unsigned long DbgPrint(char *Format,...);
#define DPRINT1 DbgPrint("(%s:%d:%s) ",__FILE__,__LINE__,__FUNCTION__), DbgPrint #define DPRINT1 DbgPrint("(%s:%d:%s) ",__FILE__,__LINE__,__FUNCTION__), DbgPrint
@ -32,6 +37,7 @@ struct _GUID;
extern const char *wine_dbgstr_an( const char * s, int n ); extern const char *wine_dbgstr_an( const char * s, int n );
extern const char *wine_dbgstr_wn( const wchar_t *s, int n ); extern const char *wine_dbgstr_wn( const wchar_t *s, int n );
extern const char *wine_dbgstr_guid( const struct _GUID *id ); extern const char *wine_dbgstr_guid( const struct _GUID *id );
extern const char *wine_dbg_sprintf( const char *format, ... );
inline static const char *debugstr_an( const char * s, int n ) { return wine_dbgstr_an( s, n ); } inline static const char *debugstr_an( const char * s, int n ) { return wine_dbgstr_an( s, n ); }
inline static const char *debugstr_wn( const wchar_t *s, int n ) { return wine_dbgstr_wn( s, n ); } inline static const char *debugstr_wn( const wchar_t *s, int n ) { return wine_dbgstr_wn( s, n ); }