projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2691a62
)
(objc_get_meta_class): New function.
author
Kresten Krab Thorup
<krab@gcc.gnu.org>
Mon, 29 Aug 1994 15:43:01 +0000
(15:43 +0000)
committer
Kresten Krab Thorup
<krab@gcc.gnu.org>
Mon, 29 Aug 1994 15:43:01 +0000
(15:43 +0000)
From-SVN: r7997
gcc/objc/class.c
patch
|
blob
|
history
diff --git
a/gcc/objc/class.c
b/gcc/objc/class.c
index e5a3505112ad777b81771f8547863c40906dc2a9..4d674fe363b0b27c095d33addce04dbd59faf8f2 100644
(file)
--- 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.