summaryrefslogtreecommitdiff
path: root/internals.h
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-04-13 23:58:44 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2008-04-13 23:58:44 +0000
commitfaece328e5acf4b91f027adbd3e3ac210d0be881 (patch)
treebda483194fb92bee9348504c877f08723ecb8bdc /internals.h
parent5f6bff8c3ad91b45f72d8975d110876a4d6bf300 (diff)
Made internals.h 2.0 compatibile.
Diffstat (limited to 'internals.h')
-rw-r--r--internals.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/internals.h b/internals.h
index 90b3103..a34c29f 100644
--- a/internals.h
+++ b/internals.h
@@ -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];
}