This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libobjc: header cleanup for new API (5)


This is really minor but clarifies that typedstream.h isn't supposed to be included
by Object.h in the new API (it is not even supposed to exist in the new API) ;-)

Committed.

Thanks

Index: ChangeLog
===================================================================
--- ChangeLog   (revision 168042)
+++ ChangeLog   (working copy)
@@ -1,5 +1,10 @@
 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
 
+       * objc/Object.h: Include deprecated/typedstream.h and
+       deprecated/hash.h instead of typedstream.h.  Updated comments.
+
+2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
+
        * Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
        * objc/deprecated/objc_msg_sendv.h: New.
        * objc/message.h: Do not define retval_t, apply_t, arglist,
Index: objc/Object.h
===================================================================
--- objc/Object.h       (revision 168041)
+++ objc/Object.h       (working copy)
@@ -27,7 +27,6 @@
 #define __object_INCLUDE_GNU
 
 #include "objc.h"
-#include "typedstream.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -56,6 +55,10 @@
 - (BOOL)isEqual: (id)anObject;
 @end
 
+/* All of the following includes were deprecated in GCC 4.6 and will
+   be removed in the next release.  */
+#include "deprecated/hash.h"
+#include "deprecated/typedstream.h"
 #include "deprecated/Object.h"
 
 #ifdef __cplusplus



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]