Patchwork libobjc: remove deprecate API (patch 6)

login
register
mail settings
Submitter Nicola Pero
Date June 3, 2011, 6:37 p.m.
Message ID <1307126273.7494384@www2.webmail.us>
Download mbox | patch
Permalink /patch/98622/
State New
Headers show

Comments

Nicola Pero - June 3, 2011, 6:37 p.m.
This trivial patch removes the deprecated definition of STR.

Committed to trunk.

Thanks

Patch

Index: Makefile.in
===================================================================
--- Makefile.in (revision 174610)
+++ Makefile.in (working copy)
@@ -131,7 +131,6 @@ 
   MetaClass.h \
   Object.h \
   Protocol.h \
-  STR.h \
   objc_get_uninstalled_dtable.h \
   objc_malloc.h \
   objc_msg_sendv.h \
Index: ChangeLog
===================================================================
--- ChangeLog   (revision 174610)
+++ ChangeLog   (working copy)
@@ -1,5 +1,11 @@ 
 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
 
+       * objc/objc.h: Do not include deprecated/STR.h.
+       * objc/deprecated/STR.h: Removed.
+       * Makefile.in (OBJC_DEPRECATED_H): removed STR.h.
+
+2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
+
        * Makefile.in (OBJC_H): Removed hash.h and sarray.h.
        (OBJC_DEPRECATED_H): Likewise.
        * libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add,
Index: objc/deprecated/STR.h
===================================================================
--- objc/deprecated/STR.h       (revision 174593)
+++ objc/deprecated/STR.h       (working copy)
@@ -1,2 +0,0 @@ 
-/* Incredibly obsolete.  */
-typedef char *STR;  /* String alias */
Index: objc/objc.h
===================================================================
--- objc/objc.h (revision 174593)
+++ objc/objc.h (working copy)
@@ -125,8 +125,6 @@ 
    compiler to do some type-checking.  */
 #define Nil (Class)0
 
-#include "deprecated/STR.h"
-
 /* TODO: Move the 'Protocol' declaration into objc/runtime.h.  A
    Protocol is simply an object, not a basic Objective-C type.  The
    Apple runtime defines Protocol in objc/runtime.h too, so it's good