diff options
author | Nicola Pero <nicola.pero@meta-innovation.com> | 2010-10-09 22:22:23 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2010-10-09 22:22:23 +0000 |
commit | cf3822f181e345f952f1497d24a854ffd50cdb9e (patch) | |
tree | 4c22a690a34cb9deabdd429ff045afebaf9343b9 /libobjc/objc-foreach.c | |
parent | 3a42502df4cb1fd3b8090658920bfe2635b39613 (diff) | |
download | gcc-cf3822f181e345f952f1497d24a854ffd50cdb9e.zip gcc-cf3822f181e345f952f1497d24a854ffd50cdb9e.tar.gz gcc-cf3822f181e345f952f1497d24a854ffd50cdb9e.tar.bz2 |
In libobjc/: 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
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
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 83a9101..a06a77e 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; |