From 856a3b637e91cb7adf95ea406d49383c2be0d3f2 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Sun, 17 Feb 2008 17:20:32 +0100 Subject: Objective-C layer: Make objcl_class_metaclass work on the NeXT runtime. darcs-hash:0060811e1eaf17e4373a445b3f36bbcebf2bc595 --- Objective-C/libobjcl.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Objective-C') 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 -- cgit v1.2.3