diff mbox

=?UTF-8?Q?libobjc:=20header=20cleanup=20for=20new=20API=20(5)?=

Message ID 1292723006.017918530@192.168.2.229
State New
Headers show

Commit Message

Nicola Pero Dec. 19, 2010, 1:43 a.m. UTC
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
diff mbox

Patch

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