summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2008-02-17 17:20:32 +0100
committerMatthias Benkard <code@mail.matthias.benkard.de>2008-02-17 17:20:32 +0100
commit856a3b637e91cb7adf95ea406d49383c2be0d3f2 (patch)
tree368ab44f8a6c9ca8170c299e48bc88428e437072
parentc06d858f8173f9dcbfb3c1c41a71aa6aae8ce80e (diff)
Objective-C layer: Make objcl_class_metaclass work on the NeXT runtime.
darcs-hash:0060811e1eaf17e4373a445b3f36bbcebf2bc595
-rw-r--r--Objective-C/libobjcl.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objective-C/libobjcl.m b/Objective-C/libobjcl.m
index 1ad8977..499c9ae 100644
--- a/Objective-C/libobjcl.m
+++ b/Objective-C/libobjcl.m
@@ -288,7 +288,7 @@ Class
objcl_class_metaclass (Class class)
{
#ifdef __NEXT_RUNTIME__
- return objc_getMetaClass (class);
+ return objc_getMetaClass (objcl_class_name (class));
#else
return class_get_meta_class (class);
#endif