From 5140bafd0b6111666c4400a070931b44d4455a76 Mon Sep 17 00:00:00 2001 From: krab Date: Thu, 30 Jun 1994 16:18:55 +0000 Subject: This patch makes selectors in the Objective-C language be pointers to a struct { void *sel_id, char *sel_types }, where the sel_types element is the type encoding of the method arguments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7622 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/objc/Object.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'gcc/objc/Object.h') diff --git a/gcc/objc/Object.h b/gcc/objc/Object.h index cb409d23cf5..e2722dc18fb 100644 --- a/gcc/objc/Object.h +++ b/gcc/objc/Object.h @@ -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. @@ -93,8 +93,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ - 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; @@ -112,14 +112,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Archiving */ + (int)version; + setVersion:(int)aVersion; - -#ifndef __alpha__ /* TypedStream not supported on alpha yet. */ + (int)streamVersion: (TypedStream*)aStream; - read: (TypedStream*)aStream; - write: (TypedStream*)aStream; -#endif - - awake; @end -- cgit v1.2.1