5d3b14bd9a
* hash.c: Include objc-private/hash.h instead of objc/hash.h. * objc/sarray.h: Moved into objc/deprecated/sarray.h; objc/sarray.h replaced with a placeholder including the file from the deprecated/ directory. * objc-private/sarray.h: New file (private copy of sarray.h). * hash.c: Include <assert.h> instead of "assert.h" * sarray.c: Include <assert.h> instead of "assert.h". Include objc-private/sarray.h instead of objc/sarray.h. * selector.c: Include objc-private/sarray.h instead of objc/sarray.h. * sendmsg.c: Include <assert.h>. Include objc-private/sarray.h instead of objc/sarray.h. * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h. From-SVN: r164389 |
||
---|---|---|
.. | ||
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 | ||
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.