cf3822f181
In libobjc/: 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com> * objc-foreach.c: Include objc-private/common.h. * objc/deprecated/METHOD_NULL.h: New file. * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of defining METHOD_NULL here. * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h. * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of METHOD_NULL. ([-respondsTo:]): Same change. * objc/objc-api.h (method_get_imp): Converted it into a normal function so that we can hide the internals of struct objc_method. * sendmsg.c (method_get_imp): Implemented. From-SVN: r165241 |
||
---|---|---|
.. | ||
deprecated | ||
encoding.h | ||
hash.h | ||
message.h | ||
NXConstStr.h | ||
objc-api.h | ||
objc-decls.h | ||
objc-exception.h | ||
objc-list.h | ||
objc-sync.h | ||
objc.h | ||
Object.h | ||
Protocol.h | ||
README | ||
runtime.h | ||
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.