diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2016-12-26 03:37:10 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2016-12-26 03:37:10 -0800 |
commit | c66799b9a7cc38772cdda9873bee8ca850173e88 (patch) | |
tree | d56e6a43b70d5696f0da6f951f287c1ccb96880b /CyteKit/UCInternal.h | |
parent | e0c35524d9e2f829122142790bc6d1ab0c0a7afb (diff) |
Fix LogBrowser logic (as it was only for testing).
Diffstat (limited to 'CyteKit/UCInternal.h')
-rw-r--r-- | CyteKit/UCInternal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CyteKit/UCInternal.h b/CyteKit/UCInternal.h index 62b46e2..cb3ba15 100644 --- a/CyteKit/UCInternal.h +++ b/CyteKit/UCInternal.h @@ -1,10 +1,10 @@ - (NSMethodSignature *) methodSignatureForSelector:(SEL)selector { - fprintf(stderr, "[%s]S-%s\n", class_getName(self->isa), sel_getName(selector)); + fprintf(stderr, "[%s]S-%s\n", class_getName(object_getClass(self)), sel_getName(selector)); return [super methodSignatureForSelector:selector]; } - (BOOL) respondsToSelector:(SEL)selector { BOOL responds = [super respondsToSelector:selector]; - fprintf(stderr, "[%s]R%c%s\n", class_getName(self->isa), (responds ? '+' : '-'), sel_getName(selector)); + fprintf(stderr, "[%s]R%c%s\n", class_getName(object_getClass(self)), (responds ? '+' : '-'), sel_getName(selector)); return responds; } |