diff options
author | krab <krab@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-06-30 16:18:55 +0000 |
---|---|---|
committer | krab <krab@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-06-30 16:18:55 +0000 |
commit | 5140bafd0b6111666c4400a070931b44d4455a76 (patch) | |
tree | 8fe61c212a5faefb5e2d0f5e09269f407fb13584 /gcc/objc/Object.h | |
parent | 7cfeba6001b20779cab6961fc29142ae09003232 (diff) | |
download | gcc-5140bafd0b6111666c4400a070931b44d4455a76.tar.gz |
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
Diffstat (limited to 'gcc/objc/Object.h')
-rw-r--r-- | gcc/objc/Object.h | 10 |
1 files changed, 3 insertions, 7 deletions
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 |