diff options
author | Kresten Krab Thorup <krab@gcc.gnu.org> | 1994-08-29 15:43:01 +0000 |
---|---|---|
committer | Kresten Krab Thorup <krab@gcc.gnu.org> | 1994-08-29 15:43:01 +0000 |
commit | f6df50cfd659277bb891e7e5044ab482bd088cf9 (patch) | |
tree | 75547bd0c1148792b46ccad79e61f58e983644ae /gcc | |
parent | 2691a6224f5433d1e4692fdf0494b3ae00bdfcac (diff) | |
download | gcc-f6df50cfd659277bb891e7e5044ab482bd088cf9.zip gcc-f6df50cfd659277bb891e7e5044ab482bd088cf9.tar.gz gcc-f6df50cfd659277bb891e7e5044ab482bd088cf9.tar.bz2 |
(objc_get_meta_class): New function.
From-SVN: r7997
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/objc/class.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/objc/class.c b/gcc/objc/class.c index e5a3505..4d674fe 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. |