Patchwork libobjc: remove deprecated API (patch 8)

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

Comments

Nicola Pero - June 3, 2011, 7:24 p.m.
This patch removes the deprecated definition of METHOD_NULL.

Committed to trunk.

Thanks

Patch

Index: Makefile.in
===================================================================
--- Makefile.in (revision 174615)
+++ Makefile.in (working copy)
@@ -127,7 +127,6 @@  OBJC_H = \
 # User-visible header files containing deprecated APIs, from the
 # objc/deprecated directory
 OBJC_DEPRECATED_H = \
-  METHOD_NULL.h \
   MetaClass.h \
   Object.h \
   Protocol.h \
Index: ChangeLog
===================================================================
--- ChangeLog   (revision 174615)
+++ ChangeLog   (working copy)
@@ -1,5 +1,11 @@ 
 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
 
+       * Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h.
+       * objc/objc-api.h: Do not include deprecated/METHOD_NULL.h.
+       * objc/deprecated/METHOD_NULL.h: Removed.
+       
+2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
+
        * Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h,
        objc_malloc.h and objc_unexpected_exception.h.
        (exception.lo): Do not use -Wno-deprecated-declarations.
Index: objc/deprecated/METHOD_NULL.h
===================================================================
--- objc/deprecated/METHOD_NULL.h       (revision 174593)
+++ objc/deprecated/METHOD_NULL.h       (working copy)
@@ -1,2 +0,0 @@ 
-/* For functions which return Method_t */
-#define METHOD_NULL    (Method_t)0
Index: objc/objc-api.h
===================================================================
--- objc/objc-api.h     (revision 174615)
+++ objc/objc-api.h     (working copy)
@@ -58,8 +58,6 @@  see the files COPYING3 and COPYING.RUNTIME respect
 extern "C" {
 #endif /* __cplusplus */
 
-#include "deprecated/METHOD_NULL.h"
-
 /* Method descriptor returned by introspective Object methods.
    This is really just the first part of the more complete objc_method
    structure defined below and used internally by the runtime.  */