From 01eb761e3088d72508d2190978ad488cbb75c321 Mon Sep 17 00:00:00 2001 From: nicola Date: Fri, 10 Sep 2010 09:56:40 +0000 Subject: * libobjc/objc/deprecated: New directory. * libobjc/objc/deprecated/README: New file. * libobjc/objc/README: New file. * libobjc/objc/typedstream.h: Moved into objc/deprecated/typedstream.h; objc/typedstream.h replaced with a placeholder including the file from the deprecated/ directory. * libobjc/objc/deprecated/objc-unexpected-exception.h: New file with the definition of _objc_unexpected_exception. * libobjc/objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h instead of defining _objc_unexpected_exception. * libobjc/objc/deprecated/Object.h: New file with the deprecated Object methods in a 'Deprecated' category. * libobjc/objc/Object.h Include deprecated/Object.h instead of defining the deprecated methods. * libobjc/Object.m: Moved deprecated methods into 'Deprecated' category. * libobjc/objc-private: New directory. * libobjc/objc-private/README: New file. * libobjc/Makefile.in (OBJC_DEPRECATED_H): New variable. (install-headers): Create installation directory for OBJC_DEPRECATED_H headers, and install them. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164153 138bc75d-0d04-0410-961f-82ee72b054a4 --- libobjc/Object.m | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libobjc/Object.m') diff --git a/libobjc/Object.m b/libobjc/Object.m index ead9c8d2119..377f0594d1b 100644 --- a/libobjc/Object.m +++ b/libobjc/Object.m @@ -343,6 +343,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see class_set_version(self, aVersion); return self; } +@end + +/* The following methods were deprecated in GCC 4.6.0 and will be + removed in the next GCC release. +*/ + +@implementation Object (Deprecated) + (int)streamVersion: (TypedStream*)aStream { -- cgit v1.2.1