]> git.saurik.com Git - cydia.git/commitdiff
Made internals.h 2.0 compatibile.
authorJay Freeman (saurik) <saurik@saurk.com>
Sun, 13 Apr 2008 23:58:44 +0000 (23:58 +0000)
committerJay Freeman (saurik) <saurik@saurk.com>
Sun, 13 Apr 2008 23:58:44 +0000 (23:58 +0000)
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];
 }