4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-30 19:10:36 +08:00

* include/rtutils.h (TraceDumpA,TraceDumpW,TracePutsA,TracePutsW)

(TraceRegisterA,TraceRegisterW,TraceVprintfA,TraceVprintfW): Define
	as macros.
	Thanks to:    Bruce M Simpson <bms_spc at sf dot net>
This commit is contained in:
Dimitri Papadopoulos 2006-05-12 18:09:15 +00:00
parent ce4e2a866a
commit 9385da4973
2 changed files with 15 additions and 8 deletions

View File

@ -1,3 +1,10 @@
2006-05-12 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/rtutils.h (TraceDumpA,TraceDumpW,TracePutsA,TracePutsW)
(TraceRegisterA,TraceRegisterW,TraceVprintfA,TraceVprintfW): Define
as macros.
Thanks to: Bruce M Simpson <bms_spc at sf dot net>
2006-05-12 Dimitri Papadopoulos <papadopo@users.sourceforge.net> 2006-05-12 Dimitri Papadopoulos <papadopo@users.sourceforge.net>
* include/mprapi.h (MprAdminMIBBufferFree,MprAdminMIBEntryCreate) * include/mprapi.h (MprAdminMIBBufferFree,MprAdminMIBEntryCreate)

View File

@ -29,27 +29,27 @@ DWORD WINAPI TraceDeregisterW(DWORD);
DWORD WINAPI TraceDeregisterExA(DWORD,DWORD); DWORD WINAPI TraceDeregisterExA(DWORD,DWORD);
DWORD WINAPI TraceDeregisterExW(DWORD,DWORD); DWORD WINAPI TraceDeregisterExW(DWORD,DWORD);
#define TRACE_NO_SYNCH 0x00000004 #define TRACE_NO_SYNCH 0x00000004
/*DWORD WINAPI TraceDumpA(DWORD,LPBYTE,DWORD,DWORD,BOOL,LPCSTR);*/ #define TraceDumpA(a,b,c,d,e,f) TraceDumpExA((a),0,(b),(c),(d),(e),(f))
/*DWORD WINAPI TraceDumpW(DWORD,LPBYTE,DWORD,DWORD,BOOL,LPCWSTR);*/ #define TraceDumpW(a,b,c,d,e,f) TraceDumpExW((a),0,(b),(c),(d),(e),(f))
DWORD WINAPI TraceDumpExA(DWORD,DWORD,LPBYTE,DWORD,DWORD,BOOL,LPCSTR); DWORD WINAPI TraceDumpExA(DWORD,DWORD,LPBYTE,DWORD,DWORD,BOOL,LPCSTR);
DWORD WINAPI TraceDumpExW(DWORD,DWORD,LPBYTE,DWORD,DWORD,BOOL,LPCWSTR); DWORD WINAPI TraceDumpExW(DWORD,DWORD,LPBYTE,DWORD,DWORD,BOOL,LPCWSTR);
DWORD WINAPI TracePrintfA(DWORD,LPCSTR,...); DWORD WINAPI TracePrintfA(DWORD,LPCSTR,...);
DWORD WINAPI TracePrintfW(DWORD,LPCWSTR,...); DWORD WINAPI TracePrintfW(DWORD,LPCWSTR,...);
DWORD WINAPI TracePrintfExA(DWORD,DWORD,LPCSTR,...); DWORD WINAPI TracePrintfExA(DWORD,DWORD,LPCSTR,...);
DWORD WINAPI TracePrintfExW(DWORD,DWORD,LPCWSTR,...); DWORD WINAPI TracePrintfExW(DWORD,DWORD,LPCWSTR,...);
/*DWORD WINAPI TracePutsA(DWORD,LPCSTR);*/ #define TracePutsA(a,b) TracePutsExA((a),0,(b))
/*DWORD WINAPI TracePutsW(DWORD,LPCWSTR);*/ #define TracePutsW(a,b) TracePutsExW((a),0,(b))
DWORD WINAPI TracePutsExA(DWORD,DWORD,LPCSTR); DWORD WINAPI TracePutsExA(DWORD,DWORD,LPCSTR);
DWORD WINAPI TracePutsExW(DWORD,DWORD,LPCWSTR); DWORD WINAPI TracePutsExW(DWORD,DWORD,LPCWSTR);
/*DWORD WINAPI TraceRegisterA(LPCSTR);*/ #define TraceRegisterA(a) TraceRegisterExA((a),0)
/*DWORD WINAPI TraceRegisterW(LPCWSTR);*/ #define TraceRegisterW(a) TraceRegisterExW((a),0)
DWORD WINAPI TraceRegisterExA(LPCSTR,DWORD); DWORD WINAPI TraceRegisterExA(LPCSTR,DWORD);
DWORD WINAPI TraceRegisterExW(LPCWSTR,DWORD); DWORD WINAPI TraceRegisterExW(LPCWSTR,DWORD);
#define TRACE_USE_FILE 0x00000001 #define TRACE_USE_FILE 0x00000001
#define TRACE_USE_CONSOLE 0x00000002 #define TRACE_USE_CONSOLE 0x00000002
#define INVALID_TRACEID 0xFFFFFFFF #define INVALID_TRACEID 0xFFFFFFFF
/*DWORD WINAPI TraceVprintfA(DWORD,LPCSTR,va_list);*/ #define TraceVprintfA(a,b,c) TraceVprintfExA((a),0,(b),(c))
/*DWORD WINAPI TraceVprintfW(DWORD,LPCWSTR,va_list);*/ #define TraceVprintfW(a,b,c) TraceVprintfExW((a),0,(b),(c))
DWORD WINAPI TraceVprintfExA(DWORD,DWORD,LPCSTR,va_list); DWORD WINAPI TraceVprintfExA(DWORD,DWORD,LPCSTR,va_list);
DWORD WINAPI TraceVprintfExW(DWORD,DWORD,LPCWSTR,va_list); DWORD WINAPI TraceVprintfExW(DWORD,DWORD,LPCWSTR,va_list);
#define TRACE_NO_STDINFO 0x00000001 #define TRACE_NO_STDINFO 0x00000001