(objc_get_meta_class): New function.
authorKresten Krab Thorup <krab@gcc.gnu.org>
Mon, 29 Aug 1994 15:43:01 +0000 (15:43 +0000)
committerKresten Krab Thorup <krab@gcc.gnu.org>
Mon, 29 Aug 1994 15:43:01 +0000 (15:43 +0000)
From-SVN: r7997

gcc/objc/class.c

index e5a3505..4d674fe 100644 (file)
@@ -132,6 +132,12 @@ objc_get_class (const char *name)
   abort();
 }
 
+MetaClass*
+objc_get_meta_class(const char *name)
+{
+  return objc_get_class(name)->class_pointer;
+}
+
 /* This function provides a way to enumerate all the classes in the
    executable.  Pass *ENUM_STATE == NULL to start the enumeration.  The
    function will return 0 when there are no more classes.