diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2008-04-13 23:58:44 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2008-04-13 23:58:44 +0000 |
commit | faece328e5acf4b91f027adbd3e3ac210d0be881 (patch) | |
tree | bda483194fb92bee9348504c877f08723ecb8bdc /internals.h | |
parent | 5f6bff8c3ad91b45f72d8975d110876a4d6bf300 (diff) |
Made internals.h 2.0 compatibile.
Diffstat (limited to 'internals.h')
-rw-r--r-- | internals.h | 4 |
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]; } |