diff options
author | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-03 00:43:14 +0000 |
---|---|---|
committer | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-03 00:43:14 +0000 |
commit | efbf3353c54b303ebed01ddd54287f6194086fd6 (patch) | |
tree | 020d2e554ecf64a23304f479a6cd272094d0fd06 /libobjc/Object.m | |
parent | 5e4e01cb1cb798700bdf9d0910fe077822d41a70 (diff) | |
download | gcc-efbf3353c54b303ebed01ddd54287f6194086fd6.tar.gz |
In libobjc/:
2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
* Makefile.in (OBJC_H): Removed typedstream.h.
(OBJC_DEPRECATED_H): Removed typedstream.h.
(C_SOURCE_FILES): Removed archive.c.
(Object.lo): Rule removed.
(Object_gc.lo): Likewise.
(archive.lo): Likewise.
(archive_gc.lo): Likewise.
* objc/deprecated/Object.h ([+streamVersion:], [-read], [-write],
[-awake]): Removed.
Do not include deprecated/typedstream.h.
* Object.m: Removed the same methods.
* archive.c: File removed.
* objc/typedstream.h: File removed.
* objc/deprecated/typedstream.h: File removed.
* libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong,
__objc_write_class, __objc_write_object, __objc_write_selector,
objc_close_typed_stream, objc_end_of_typed_stream,
objc_flush_typed_stream, objc_get_stream_class_version,
objc_open_typed_stream, objc_open_typed_stream_for_file,
objc_read_array, objc_read_char, objc_read_int, objc_read_long,
objc_read_object, objc_read_selector, objc_read_short,
objc_read_string, objc_read_type, objc_read_types,
objc_read_unsigned_char, objc_read_unsigned_int,
objc_read_unsigned_long, objc_read_unsigned_short,
objc_write_array, objc_write_char, objc_write_int,
objc_write_long, objc_write_object, objc_write_object_reference,
objc_write_root_object, objc_write_selector, objc_write_short,
objc_write_string, objc_write_string_atomic, objc_write_type,
objc_write_types, objc_write_unsigned_char,
objc_write_unsigned_int, objc_write_unsigned_long,
objc_write_unsigned_short): Removed.
In gcc/testsuite/:
2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/type-stream-1.m: Test removed.
* objc.dg/headers.m: Do not include typedstream.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174593 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/Object.m')
-rw-r--r-- | libobjc/Object.m | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/libobjc/Object.m b/libobjc/Object.m index f83d07257a0..7e414c4014d 100644 --- a/libobjc/Object.m +++ b/libobjc/Object.m @@ -289,38 +289,4 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see return self; } -+ (int)streamVersion: (TypedStream*)aStream -{ - if (aStream->mode == OBJC_READONLY) - return objc_get_stream_class_version (aStream, self); - else - return class_get_version (self); -} - -// These are used to write or read the instance variables -// declared in this particular part of the object. 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. - -- read: (TypedStream*)aStream -{ - (void) aStream; /* UNUSED */ - // [super read: aStream]; - return self; -} - -- write: (TypedStream*)aStream -{ - (void) aStream; /* UNUSED */ - // [super write: aStream]; - return self; -} - -- awake -{ - // [super awake]; - return self; -} - @end |