From e976a775e259c5a85907a4b4e9a2b707c7ce9cca Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Fri, 10 Sep 2010 09:56:40 +0000 Subject: deprecated: New directory. * 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. From-SVN: r164153 --- libobjc/objc/deprecated/Object.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 libobjc/objc/deprecated/Object.h (limited to 'libobjc/objc/deprecated/Object.h') diff --git a/libobjc/objc/deprecated/Object.h b/libobjc/objc/deprecated/Object.h new file mode 100644 index 0000000..0241f0f --- /dev/null +++ b/libobjc/objc/deprecated/Object.h @@ -0,0 +1,13 @@ +@interface Object (Deprecated) + +/* The following methods were deprecated in GCC 4.6.0 and will be + removed in the next GCC release. +*/ ++ (int)streamVersion: (TypedStream*)aStream; /* __attribute__ ((deprecated)) */ + +- read: (TypedStream*)aStream; /* __attribute__ ((deprecated)) */ +- write: (TypedStream*)aStream; /* __attribute__ ((deprecated)) */ +- awake; /* __attribute__ ((deprecated)) */ + +@end + -- cgit v1.1