Commit ff942a98 by Doug Evans

#ifdef out uses of TypedStream for the alpha, not supported yet.

From-SVN: r6426
parent a0a74fda
...@@ -112,10 +112,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -112,10 +112,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Archiving */ /* Archiving */
+ (int)version; + (int)version;
+ + setVersion:(int)aVersion; + + setVersion:(int)aVersion;
#ifndef __alpha__ /* TypedStream not supported on alpha yet. */
+ (int)streamVersion: (TypedStream*)aStream; + (int)streamVersion: (TypedStream*)aStream;
- - read: (TypedStream*)aStream; - - read: (TypedStream*)aStream;
- - write: (TypedStream*)aStream; - - write: (TypedStream*)aStream;
#endif
- - awake; - - awake;
@end @end
......
...@@ -339,15 +339,15 @@ extern int errno; ...@@ -339,15 +339,15 @@ extern int errno;
return self; return self;
} }
#ifndef __alpha__ /* TypedStream not supported on alpha yet. */
+ (int)streamVersion: (TypedStream*)aStream + (int)streamVersion: (TypedStream*)aStream
{ {
#ifndef __alpha__
if (aStream->mode == OBJC_READONLY) if (aStream->mode == OBJC_READONLY)
return objc_get_stream_class_version (aStream, self); return objc_get_stream_class_version (aStream, self);
else else
#endif
return class_get_version (self); return class_get_version (self);
} }
#endif
// These are used to write or read the instance variables // These are used to write or read the instance variables
// declared in this particular part of the object. Subclasses // declared in this particular part of the object. Subclasses
...@@ -355,17 +355,21 @@ extern int errno; ...@@ -355,17 +355,21 @@ extern int errno;
// before doing their own archiving. These methods are private, in // before doing their own archiving. These methods are private, in
// the sense that they should only be called from subclasses. // the sense that they should only be called from subclasses.
#ifndef __alpha__
- read: (TypedStream*)aStream - read: (TypedStream*)aStream
{ {
// [super read: aStream]; // [super read: aStream];
return self; return self;
} }
#endif
#ifndef __alpha__
- write: (TypedStream*)aStream - write: (TypedStream*)aStream
{ {
// [super write: aStream]; // [super write: aStream];
return self; return self;
} }
#endif
- awake - awake
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment