adium-1.4 3135:5d4fe0d52713: Add the #define for AILogWithBacktr...
commits at adium.im
commits at adium.im
Mon Oct 25 02:40:30 UTC 2010
details: http://hg.adium.im/adium-1.4/rev/5d4fe0d52713
revision: 3135:5d4fe0d52713
author: Evan Schoenberg
date: Sun Oct 24 21:40:26 2010 -0500
Add the #define for AILogWithBacktrace()
diffs (12 lines):
diff -r ad4b2188318f -r 5d4fe0d52713 Frameworks/Adium Framework/Source/ESDebugAILog.h
--- a/Frameworks/Adium Framework/Source/ESDebugAILog.h Sun Oct 24 21:38:03 2010 -0500
+++ b/Frameworks/Adium Framework/Source/ESDebugAILog.h Sun Oct 24 21:40:26 2010 -0500
@@ -21,6 +21,8 @@
#define AILogWithPrefix(sig, fmt, args...) do { if(__builtin_expect(AIDebugLoggingEnabled, 0)) AILogWithPrefix_impl(sig, fmt, ##args); } while(0)
#define AILogBacktrace() do { if(__builtin_expect(AIDebugLoggingEnabled, 0)) AILogBacktrace_impl(); } while(0)
#define AILogWithSignature(fmt, args...) AILogWithPrefix(__PRETTY_FUNCTION__, fmt, ##args);
+#define AILogWithBacktrace(fmt, args...) do { if (__builtin_expect(AIDebugLoggingEnabled, 0)) AILogBacktrace_impl(fmt, ##args); } while(0)
+
void AIEnableDebugLogging();
void AILogWithPrefix_impl (const char *signature, NSString *format, ...) __attribute__((format(__NSString__, 2, 3)));
void AILog_impl (NSString *format, ...) __attribute__((format(__NSString__, 1, 2)));
More information about the commits
mailing list