gcc/libobjc/objc
Nicola Pero ad9eef11df Makefile.in (C_SOURCE_FILES): Added methods.c.
2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>

        * Makefile.in (C_SOURCE_FILES): Added methods.c.
        * encoding.c (method_getNumberOfArguments): New.
        (method_get_number_of_arguments): Call
        method_getNumberOfArguments.
        * ivars.c (ivar_getName): Check for NULL variable argument.
        (ivar_getOffset): Check for NULL variable argument.
        (ivar_getTypeEncoding): Check for NULL variable argument.
        (class_copyIvarList): New.
        * methods.c: New.
        * protocols.c (class_copyProtocolList): Check for Nil class_
        argument.
        * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
        'struct objc_method_list *' instead of MethodList_t.
        (class_getMethodImplementation): New.
        (class_respondsToSelector): New.
        (class_getInstanceMethod): New.
        (class_getClassMethod): New.
        * objc/runtime.h: Updated comments.
        (class_copyIvarList): New.
        (class_getInstanceMethod): New.
        (class_getClassMethod): New.
        (class_getMethodImplementation): New.
        (class_respondsToSelector): New.
        (method_getName): New.
        (method_getImplementation): New.
        (method_getTypeEncoding): New.
        (class_copyMethodList): New.
        (method_getNumberOfArguments): New.

From-SVN: r165400
2010-10-12 22:00:01 +00:00
..
deprecated In libobjc/: 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-12 02:43:25 +00:00
encoding.h In libobjc/: 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-10 17:43:07 +00:00
hash.h In libobjc/: 2010-09-17 16:52:36 +00:00
message.h In libobjc/: 2010-10-09 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-09 20:11:02 +00:00
NXConstStr.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
objc-api.h In libobjc/: 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-11 18:17:19 +00:00
objc-decls.h archive.c: Do not include objc/objc.h. 2010-10-12 16:17:18 +00:00
objc-exception.h In libobjc/: 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-10 11:18:57 +00:00
objc-list.h In libobjc/: 2010-09-17 16:52:36 +00:00
objc-sync.h In libobjc/: Implemented objc_sync_enter() and objc_sync_exit(), which are required by @synchronized() to work. 2010-09-14 10:23:37 +00:00
objc.h In libobjc/: 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-11 02:36:32 +00:00
Object.h deprecated: New directory. 2010-09-10 09:56:40 +00:00
Protocol.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
README deprecated: New directory. 2010-09-10 09:56:40 +00:00
runtime.h Makefile.in (C_SOURCE_FILES): Added methods.c. 2010-10-12 22:00:01 +00:00
sarray.h In libobjc/: 2010-09-18 09:34:58 +00:00
thr.h Removed obsolete intermediate threading layer. 2010-09-08 09:35:50 +00:00
typedstream.h In libobjc/: 2010-09-17 16:35:15 +00:00

This directory contains the public headers that are installed when
libobjc is installed.

Deprecated parts of the API should be moved into objc/deprecated and
then included by public headers until they are finally removed.  For
example, if objc-api.h contains an _objc_unexpected_exception variable
which is then deprecated, it should be moved into a header in
objc/deprecated.  This header is then included into objc-api.h.

The result is that all the deprecated parts of the API are clearly
separated in objc/deprecated, while objc/ retains only the current public
API.