| Last change
 on this file since 21968 was             21352, checked in by rlwalsh, 16 years ago | 
        
          | 
eliminate VACPP warning & info msgs - see Ticket #1
 | 
        
          | File size:
            858 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 | #ifdef DEBUG | 
|---|
| 11 | #define debugstr_a(a) debugstr_an(a, 80) | 
|---|
| 12 | #define debugstr_w(a) debugstr_wn(a, 80) | 
|---|
| 13 | #else | 
|---|
| 14 | #define debugstr_a(a) "" | 
|---|
| 15 | #define debugstr_w(a) "" | 
|---|
| 16 | #endif | 
|---|
| 17 |  | 
|---|
| 18 | //extern LPSTR debugstr_a (LPCSTR s); | 
|---|
| 19 | //extern LPSTR debugstr_w (LPCWSTR s); | 
|---|
| 20 | extern LPSTR debugres_a (LPCSTR res); | 
|---|
| 21 | extern LPSTR debugres_w (LPCWSTR res); | 
|---|
| 22 | extern void debug_dumpstr (LPCSTR s); | 
|---|
| 23 |  | 
|---|
| 24 | #ifdef __GNUC__ | 
|---|
| 25 |  | 
|---|
| 26 | #ifdef printf | 
|---|
| 27 | #undef printf | 
|---|
| 28 | #endif | 
|---|
| 29 |  | 
|---|
| 30 | extern int dbg_printf(const char *format, ...) __attribute__((format (printf,1,2))); | 
|---|
| 31 |  | 
|---|
| 32 | #define printf emx_printf | 
|---|
| 33 |  | 
|---|
| 34 | #else | 
|---|
| 35 | extern int dbg_printf(const char *format, ...); | 
|---|
| 36 | #endif | 
|---|
| 37 |  | 
|---|
| 38 | #endif /* __WINE_DEBUGSTR_H */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.