Changeset 1171
- Timestamp:
- Feb 4, 2004, 11:36:26 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/emx/libclog.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r1170 r1171 31 31 * @param ... Arguments to the format string. 32 32 */ 33 extern unsigned __libc_LogEnter(const char *pszFunction, const char *pszFormat, ...) ;33 extern unsigned __libc_LogEnter(const char *pszFunction, const char *pszFormat, ...) __printflike(2, 3); 34 34 /** 35 35 * Output a leave function log message. … … 42 42 * @param ... Arguments to the format string. 43 43 */ 44 extern void __libc_LogLeave(unsigned uEnterTS, const char *pszFunction, const char *pszFormat, ...) ;44 extern void __libc_LogLeave(unsigned uEnterTS, const char *pszFunction, const char *pszFormat, ...) __printflike(3, 4); 45 45 46 46 /** … … 54 54 * @param ... Arguments to the format string. 55 55 */ 56 extern void __libc_LogMsg(unsigned uEnterTS, const char *pszFunction, const char *pszFormat, ...) ;56 extern void __libc_LogMsg(unsigned uEnterTS, const char *pszFunction, const char *pszFormat, ...) __printflike(3, 4); 57 57 58 58 /** Macro to log a function entry. */ … … 63 63 #define LIBCLOG_MSG(...) \ 64 64 __libc_LogLeave(__libclog_uEnterTS__, __PRETTY_FUNCTION__, __VA_ARGS__) 65 #define LIBCLOG_MSG2(...) \ 66 __libc_LogLeave(~0, __PRETTY_FUNCTION__, __VA_ARGS__) 65 67 66 68 #else … … 71 73 #define LIBCLOG_LEAVE(...) do {} while (0) 72 74 #define LIBCLOG_MSG(...) do {} while (0) 75 #define LIBCLOG_MSG2(...) do {} while (0) 73 76 74 77 #endif -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.