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

        * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
        instead of objc/objc-api.h.
        (objc_get_unknown_class_handler): Do not define.
        (class_isMetaClass): New.
        (class_getSuperclass): New.
        (class_getVersion): New.
        (class_setVersion): New.
        (class_getInstanceSize): New.
        * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
        (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
        objc_get_super_class.
        (get_ttype_entry): Use objc_getRequiredClass instead of
        objc_get_class.
        * ivars.c (class_getClassVariable): New.
        * objects.c: Include objc/runtime.h, objc/thr.h and
        objc-private/module-abi-8.h instead of objc/objc-api.h
        * objc/runtime.h (class_getClassVariable): New.
        (class_isMetaClass): New.
        (class_getSuperclass): New.
        (class_getVersion): New.
        (class_setVersion): New.
        (class_getInstanceSize): New.
        * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
        objc/objc-api.h)
        (__CLS_INFO): Same.
        (__CLS_ISINFO): Same.
        (__CLS_SETINFO): Same.
        (CLS_ISMETA): Same.
        (CLS_ISCLASS): Same.
        (CLS_ISRESOLV): Same.
        (CLS_SETRESOLV): Same.
        (CLS_ISINITIALIZED): Same.
        (CLS_SETINITIALIZED): Same.
        (CLS_GETNUMBER): Same.
        (CLS_SETNUMBER): Same.

From-SVN: r165392
2010-10-12 18:43:54 +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 In libobjc/: 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-12 18:43:54 +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.