gcc/libobjc/objc
Nicola Pero ae422ccd65 In libobjc/: 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/:
2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>

        * Protocol.m: Include objc/runtime.h and
        objc-private/module-abi-8.h instead of objc/objc-api.h.  Do not
        repeat Protocol's instance variables.
        (struct objc_method_description_list): Do not define here.
        ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
        ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
        selectors directly instead of getting names and then using strcmp.
        ([descriptionForClassMethod:]): Same change.
        ([-isEqual:]): Reimplemented on top of protocol_isEqual().
        * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
        to compare selectors directly instead of getting names and then
        using strcmp.
        * objc/Protocol.h: Updated comments.

From-SVN: r165517
2010-10-15 18:24:27 +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 In libobjc/: 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-15 18:24:27 +00:00
README deprecated: New directory. 2010-09-10 09:56:40 +00:00
runtime.h In libobjc/: 2010-10-14 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-15 10:35:00 +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.