--- gcc/objc/Object.h 2018/04/24 18:10:17 1.1.1.2 +++ gcc/objc/Object.h 2018/04/24 18:20:17 1.1.1.4 @@ -1,5 +1,5 @@ /* Interface for the Object class for Objective-C. - Copyright (C) 1993 Free Software Foundation, Inc. + Copyright (C) 1993, 1994 Free Software Foundation, Inc. This file is part of GNU CC. @@ -61,6 +61,7 @@ the Free Software Foundation, 675 Mass A - self; - (unsigned int)hash; - (BOOL)isEqual:anObject; +- (int)compare:anotherObject; /* Testing object type */ - (BOOL)isMetaClass; @@ -92,8 +93,8 @@ the Free Software Foundation, 675 Mass A - perform:(SEL)aSel with:anObject1 with:anObject2; /* Forwarding */ -- forward:(SEL)aSel :(arglist_t)argFrame; -- performv:(SEL)aSel :(arglist_t)argFrame; +- (retval_t)forward:(SEL)aSel :(arglist_t)argFrame; +- (retval_t)performv:(SEL)aSel :(arglist_t)argFrame; /* Posing */ + poseAs:(Class*)aClassObject; @@ -102,6 +103,7 @@ the Free Software Foundation, 675 Mass A /* Enforcing intentions */ - subclassResponsibility:(SEL)aSel; - notImplemented:(SEL)aSel; +- shouldNotImplement:(SEL)aSel; /* Error handling */ - doesNotRecognize:(SEL)aSel;