--- gcc/objc/Object.h 2018/04/24 18:20:17 1.1.1.4 +++ gcc/objc/Object.h 2018/04/24 18:26:53 1.1.1.5 @@ -1,5 +1,5 @@ /* Interface for the Object class for Objective-C. - Copyright (C) 1993, 1994 Free Software Foundation, Inc. + Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc. This file is part of GNU CC. @@ -15,7 +15,8 @@ License for more details. You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ /* As a special exception, if you link this library with files compiled with GCC to produce an executable, this does not cause the resulting @@ -35,7 +36,7 @@ the Free Software Foundation, 675 Mass A */ @interface Object { - Class* isa; /* A pointer to the instance's class structure */ + Class isa; /* A pointer to the instance's class structure */ } /* Initializing classes and instances */ @@ -52,9 +53,9 @@ the Free Software Foundation, 675 Mass A - deepCopy; /* Identifying classes */ -- (Class*)class; -- (Class*)superClass; -- (MetaClass*)metaClass; +- (Class)class; +- (Class)superClass; +- (MetaClass)metaClass; - (const char *)name; /* Identifying and comparing objects */ @@ -69,8 +70,8 @@ the Free Software Foundation, 675 Mass A - (BOOL)isInstance; /* Testing inheritance relationships */ -- (BOOL)isKindOf:(Class*)aClassObject; -- (BOOL)isMemberOf:(Class*)aClassObject; +- (BOOL)isKindOf:(Class)aClassObject; +- (BOOL)isMemberOf:(Class)aClassObject; - (BOOL)isKindOfClassNamed:(const char *)aClassName; - (BOOL)isMemberOfClassNamed:(const char *)aClassName; @@ -97,8 +98,8 @@ the Free Software Foundation, 675 Mass A - (retval_t)performv:(SEL)aSel :(arglist_t)argFrame; /* Posing */ -+ poseAs:(Class*)aClassObject; -- (Class*)transmuteClassTo:(Class*)aClassObject; ++ poseAs:(Class)aClassObject; +- (Class)transmuteClassTo:(Class)aClassObject; /* Enforcing intentions */ - subclassResponsibility:(SEL)aSel;