diff options
author | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-19 15:13:54 +0000 |
---|---|---|
committer | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-19 15:13:54 +0000 |
commit | 0463af0e13a17cd146ce690a35d2daf702fb5a01 (patch) | |
tree | 289ab317f67587dd90b5d4486afe3791a6146b7d /libobjc/sendmsg.c | |
parent | dd8d3729f37f9751e155be7a70380c2a11163e7d (diff) |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168059 138bc75d-0d04-0410-961f-82ee72b054a4
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 5f430fd1e48..2fb716c2e78 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); } |