summaryrefslogtreecommitdiff
path: root/libobjc/Object.m
diff options
context:
space:
mode:
Diffstat (limited to 'libobjc/Object.m')
-rw-r--r--libobjc/Object.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/libobjc/Object.m b/libobjc/Object.m
index 3a5bcb31688..441c471b2a1 100644
--- a/libobjc/Object.m
+++ b/libobjc/Object.m
@@ -172,14 +172,14 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+ (BOOL)instancesRespondTo:(SEL)aSel
{
- return class_get_instance_method(self, aSel)!=METHOD_NULL;
+ return class_get_instance_method(self, aSel) != (Method_t)0;
}
- (BOOL)respondsTo:(SEL)aSel
{
return ((object_is_instance(self)
?class_get_instance_method(self->isa, aSel)
- :class_get_class_method(self->isa, aSel))!=METHOD_NULL);
+ :class_get_class_method(self->isa, aSel)) != (Method_t)0);
}
+ (IMP)instanceMethodFor:(SEL)aSel