6dead247c9
* objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way to check the API version. Added some comments. * objc-private/common.h: New file. * NXConstStr.m: Include objc-private/common.h. * Object.m: Same change. * Protocol.m: Same change. * archive.c: Same change. * class.c: Same change. * encoding.c: Same change. * exception.c: Same change. * gc.c: Same change. * hash.c: Same change. * init.c: Same change. * libobjc_entry.c: Same change. * linking.m: Same change. * misc.c: Same change (and added a comment). * nil_method.c: Same change. * objects.c: Same change. * sarray.c: Same change. * selector.c: Same change. * sendmsg.c: Same change. * thr.c: Same change. From-SVN: r164218 |
||
---|---|---|
.. | ||
deprecated | ||
encoding.h | ||
hash.h | ||
message.h | ||
NXConstStr.h | ||
objc-api.h | ||
objc-decls.h | ||
objc-exception.h | ||
objc-list.h | ||
objc.h | ||
Object.h | ||
Protocol.h | ||
README | ||
sarray.h | ||
thr.h | ||
typedstream.h |
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.