From: Jay Freeman (saurik) Date: Sun, 13 Apr 2008 23:58:44 +0000 (+0000) Subject: Made internals.h 2.0 compatibile. X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/324611838cea473ad58fd20d3a989217e338a495?hp=b0d03adeb60ce7988bae1a3b5fb286f69262d3ed Made internals.h 2.0 compatibile. --- diff --git a/internals.h b/internals.h index 90b3103d..a34c29ff 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]; }