]> git.saurik.com Git - cydia.git/blobdiff - internals.h
Various performance disprovements (just scattered the time around, didn't actually...
[cydia.git] / internals.h
index 90b3103d588317f7f2ab4900071ab800fc8d2345..a34c29ff1f3dae96276ac5f43320a6f5b259fa6a 100644 (file)
@@ -1,9 +1,9 @@
 - (NSMethodSignature *) methodSignatureForSelector:(SEL)selector {
-    fprintf(stderr, "[%s]S-%s\n", self->isa->name, sel_getName(selector));
+    fprintf(stderr, "[%s]S-%s\n", class_getName(self->isa), sel_getName(selector));
     return [super methodSignatureForSelector:selector];
 }
 
 - (BOOL) respondsToSelector:(SEL)selector {
-    fprintf(stderr, "[%s]R-%s\n", self->isa->name, sel_getName(selector));
+    fprintf(stderr, "[%s]R-%s\n", class_getName(self->isa), sel_getName(selector));
     return [super respondsToSelector:selector];
 }