From f6df50cfd659277bb891e7e5044ab482bd088cf9 Mon Sep 17 00:00:00 2001 From: Kresten Krab Thorup Date: Mon, 29 Aug 1994 15:43:01 +0000 Subject: [PATCH] (objc_get_meta_class): New function. From-SVN: r7997 --- gcc/objc/class.c | 6 ++++++ 1 file changed, 6 insertions(+) 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. -- 2.30.2