diff options
author | Nicola Pero <nicola.pero@meta-innovation.com> | 2010-12-19 15:13:54 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2010-12-19 15:13:54 +0000 |
commit | 6e45b376c6c4086019d8a7e8eb29fc28a20e71f7 (patch) | |
tree | 289ab317f67587dd90b5d4486afe3791a6146b7d /libobjc/sendmsg.c | |
parent | fea782052db609f2a1bdf35bccf7ceb74c711494 (diff) | |
download | gcc-6e45b376c6c4086019d8a7e8eb29fc28a20e71f7.zip gcc-6e45b376c6c4086019d8a7e8eb29fc28a20e71f7.tar.gz gcc-6e45b376c6c4086019d8a7e8eb29fc28a20e71f7.tar.bz2 |
In gcc/testsuite/: 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/testsuite/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/gnu-api-2-objc.m: Fixed test to test objc_lookUpClass,
not objc_lookupClass.
* obj-c++.dg/gnu-api-2-objc.mm: Same change.
In libobjc/:
2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* class.c (objc_lookupClass): Renamed to objc_lookUpClass.
* protocols.c: Updated all calls to objc_lookupClass to call
objc_lookUpClass instead.
* sendmsg.c (objc_lookupClass): Do not declare.
(get_imp): Update call to objc_lookupClass to call
objc_lookUpClass instead.
* objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
From-SVN: r168059
Diffstat (limited to 'libobjc/sendmsg.c')
-rw-r--r-- | libobjc/sendmsg.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libobjc/sendmsg.c b/libobjc/sendmsg.c index 5f430fd..2fb716c 100644 --- a/libobjc/sendmsg.c +++ b/libobjc/sendmsg.c @@ -228,9 +228,6 @@ __objc_resolve_instance_method (Class class, SEL sel) return NULL; } -/* Temporary definition until we include objc/runtime.h. */ -objc_EXPORT Class objc_lookupClass (const char *name); - /* Given a class and selector, return the selector's implementation. */ inline @@ -292,7 +289,7 @@ get_imp (Class class, SEL sel) need to obtain the class from the meta class, which we do using the fact that both the class and the meta-class have the same name. */ - Class realClass = objc_lookupClass (class->name); + Class realClass = objc_lookUpClass (class->name); if (realClass) res = __objc_resolve_class_method (realClass, sel); } |