diff options
author | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-09 22:22:23 +0000 |
---|---|---|
committer | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-09 22:22:23 +0000 |
commit | 83b8166b952e51101aa2873b28415b04716d5e5d (patch) | |
tree | 4c22a690a34cb9deabdd429ff045afebaf9343b9 /libobjc/objc-foreach.c | |
parent | 5be42b3963507aba2ab5946c590b70d9bd3a1e25 (diff) | |
download | gcc-83b8166b952e51101aa2873b28415b04716d5e5d.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165241 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/objc-foreach.c')
-rw-r--r-- | libobjc/objc-foreach.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libobjc/objc-foreach.c b/libobjc/objc-foreach.c index 83a91011d12..a06a77ec8e5 100644 --- a/libobjc/objc-foreach.c +++ b/libobjc/objc-foreach.c @@ -27,8 +27,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see objc_set_enumeration_mutation_handler(), the two functions required to handle mutations during a fast enumeration. */ -#include "objc/runtime.h" /* For objc_enumerationMutation() and objc_set_enumeration_mutation_handler() */ +#include "objc-private/common.h" #include "objc-private/error.h" /* For _objc_abort() */ +#include "objc/runtime.h" /* For objc_enumerationMutation() and objc_set_enumeration_mutation_handler() */ /* The enumeration mutation handler currently in use. */ static void (*__objc_enumeration_mutation_handler)(id) = NULL; |