summaryrefslogtreecommitdiff
path: root/internals.h
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-09-23 23:10:25 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:08:29 +0000
commitc390d3ab34d681832980e545b276467787a70d0a (patch)
treed5557d57a86e6b9c8a6c33b08df7bb9f4aa46593 /internals.h
parent6e201c55ab5e152a21efd305072ce38b1d0163ad (diff)
Massive stability and feature improvements to Cydia.
Diffstat (limited to 'internals.h')
-rw-r--r--internals.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/internals.h b/internals.h
index a34c29f..62b46e2 100644
--- a/internals.h
+++ b/internals.h
@@ -4,6 +4,7 @@
}
- (BOOL) respondsToSelector:(SEL)selector {
- fprintf(stderr, "[%s]R-%s\n", class_getName(self->isa), sel_getName(selector));
- return [super respondsToSelector:selector];
+ BOOL responds = [super respondsToSelector:selector];
+ fprintf(stderr, "[%s]R%c%s\n", class_getName(self->isa), (responds ? '+' : '-'), sel_getName(selector));
+ return responds;
}