From: Kresten Krab Thorup Date: Mon, 29 Aug 1994 15:43:01 +0000 (+0000) Subject: (objc_get_meta_class): New function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6df50cfd659277bb891e7e5044ab482bd088cf9;p=gcc.git (objc_get_meta_class): New function. From-SVN: r7997 --- diff --git a/gcc/objc/class.c b/gcc/objc/class.c index e5a3505112a..4d674fe363b 100644 --- a/gcc/objc/class.c +++ b/gcc/objc/class.c @@ -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.