From ab92ad73d09c0d78903ab068991190e6c0998aba Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 20 Apr 2009 06:22:06 +0000 Subject: Better separation of concerns. --- Cydia.mm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Cydia.mm') diff --git a/Cydia.mm b/Cydia.mm index 2f299b6..cf27f1e 100644 --- a/Cydia.mm +++ b/Cydia.mm @@ -397,6 +397,8 @@ extern NSString * const kCAFilterNearest; #define lprintf(args...) fprintf(stderr, args) #define ForRelease 0 +#define TraceLogging (1 && !ForRelease) +#define ProfileTimes (0 && !ForRelease) #define ForSaurik (0 && !ForRelease) #define LogBrowser (0 && !ForRelease) #define TrackResize (0 && !ForRelease) @@ -406,9 +408,12 @@ extern NSString * const kCAFilterNearest; #define RecycleWebViews 0 #define AlwaysReload (1 && !ForRelease) -#if ForRelease +#if !TraceLogging #undef _trace #define _trace(args...) +#endif + +#if !ProfileTimes #undef _profile #define _profile(name) { #undef _end @@ -562,7 +567,7 @@ CFIndex CFBSearch_(const void *element, CFIndex elementSize, const void *list, C return (ptr - (const char *)list) / elementSize; } -#define HistogramInsertionSort 1 +#define HistogramInsertionSort 0 void CFArrayInsertionSortValues(CFMutableArrayRef array, CFRange range, CFComparatorFunction comparator, void *context) { if (range.length == 0) -- cgit v1.2.3