mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
remove obsolete typed stream inclusion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31248 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
34c90b72b1
commit
c84aa38f48
5 changed files with 17 additions and 40 deletions
|
@ -2325,50 +2325,24 @@ objc_create_block_classes_as_subclasses_of(Class super) __attribute__((weak));
|
|||
YES));
|
||||
}
|
||||
|
||||
+ (NSInteger) streamVersion: (TypedStream*)aStream
|
||||
+ (NSInteger) streamVersion: (void*)aStream
|
||||
{
|
||||
#if !defined(NeXT_RUNTIME) && !defined(__GNUSTEP_RUNTIME__)
|
||||
if (aStream->mode == OBJC_READONLY)
|
||||
return objc_get_stream_class_version (aStream, self);
|
||||
else
|
||||
#endif
|
||||
return class_get_version (self);
|
||||
GSOnceMLog(@"[NSObject+streamVersion:] is deprecated ... do not use");
|
||||
return class_get_version (self);
|
||||
}
|
||||
|
||||
//NOTE: original comments included the following excerpt, however it is
|
||||
// probably not relevant now since the implementations are stubbed out.
|
||||
// Subclasses should extend these, by calling
|
||||
// [super read/write: aStream] before doing their own archiving. These
|
||||
// methods are private, in the sense that they should only be called from
|
||||
// subclasses.
|
||||
|
||||
/**
|
||||
* Originally used to read the instance variables declared in this
|
||||
* particular part of the object from a stream. Currently stubbed out.
|
||||
*/
|
||||
- (id) read: (TypedStream*)aStream
|
||||
- (id) read: (void*)aStream
|
||||
{
|
||||
// [super read: aStream];
|
||||
GSOnceMLog(@"[NSObject-read:] is deprecated ... do not use");
|
||||
return self;
|
||||
}
|
||||
|
||||
/**
|
||||
* Originally used to write the instance variables declared in this
|
||||
* particular part of the object to a stream. Currently stubbed out.
|
||||
*/
|
||||
- (id) write: (TypedStream*)aStream
|
||||
- (id) write: (void*)aStream
|
||||
{
|
||||
// [super write: aStream];
|
||||
GSOnceMLog(@"[NSObject-write:] is deprecated ... do not use");
|
||||
return self;
|
||||
}
|
||||
|
||||
/**
|
||||
* Originally used before [NSCoder] and related classes existed. Currently
|
||||
* stubbed out.
|
||||
*/
|
||||
- (id) awake
|
||||
{
|
||||
// [super awake];
|
||||
GSOnceMLog(@"[NSObject-awake] is deprecated ... do not use");
|
||||
return self;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue