diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-01-24 23:28:33 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-01-24 23:28:33 +0000 |
commit | 2289615a688fe22fab4146f5ffad038c32e1825e (patch) | |
tree | 3aa902e1f29a7bbba9619b64087222372545a9f1 /gcc | |
parent | b744b60dd8c0282d197fd396cb4b355f5bc82aa1 (diff) | |
download | gcc-2289615a688fe22fab4146f5ffad038c32e1825e.tar.gz |
#ifdef out uses of TypedStream for the alpha, not supported yet.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6426 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/objc/Object.h | 4 | ||||
-rw-r--r-- | gcc/objc/Object.m | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/objc/Object.h b/gcc/objc/Object.h index cb370ca2396..cb409d23cf5 100644 --- a/gcc/objc/Object.h +++ b/gcc/objc/Object.h @@ -112,10 +112,14 @@ 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 diff --git a/gcc/objc/Object.m b/gcc/objc/Object.m index 622dcbe64c3..d62094860f7 100644 --- a/gcc/objc/Object.m +++ b/gcc/objc/Object.m @@ -339,15 +339,15 @@ extern int errno; return self; } +#ifndef __alpha__ /* TypedStream not supported on alpha yet. */ + (int)streamVersion: (TypedStream*)aStream { -#ifndef __alpha__ if (aStream->mode == OBJC_READONLY) return objc_get_stream_class_version (aStream, self); else -#endif return class_get_version (self); } +#endif // These are used to write or read the instance variables // declared in this particular part of the object. Subclasses @@ -355,17 +355,21 @@ extern int errno; // before doing their own archiving. These methods are private, in // the sense that they should only be called from subclasses. +#ifndef __alpha__ - read: (TypedStream*)aStream { // [super read: aStream]; return self; } +#endif +#ifndef __alpha__ - write: (TypedStream*)aStream { // [super write: aStream]; return self; } +#endif - awake { |