aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKresten Krab Thorup <krab@gcc.gnu.org>1993-04-12 15:44:25 +0000
committerKresten Krab Thorup <krab@gcc.gnu.org>1993-04-12 15:44:25 +0000
commit6d9bd62495060b58a269c8780d6e8e57a1a6f2db (patch)
treecb56e0a8dc8009c28a74b9b036a8b1d17376e1f5
parentd408c5dad6a60c641458957794429e9f226ce857 (diff)
downloadgcc-6d9bd62495060b58a269c8780d6e8e57a1a6f2db.zip
gcc-6d9bd62495060b58a269c8780d6e8e57a1a6f2db.tar.gz
gcc-6d9bd62495060b58a269c8780d6e8e57a1a6f2db.tar.bz2
now "#include"s objc-archive.h
From-SVN: r4094
-rw-r--r--gcc/objc/objc.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/objc/objc.h b/gcc/objc/objc.h
index da1407e..cf2f4cb 100644
--- a/gcc/objc/objc.h
+++ b/gcc/objc/objc.h
@@ -280,7 +280,7 @@ typedef struct objc_class *MetaClass_t;
** change type. The compiler generates "char* const" and places a string in
** the following member variables: super_class.
*/
-typedef struct objc_class {
+struct objc_class {
MetaClass_t class_pointer; /* Pointer to the class's
meta class. */
struct objc_class* super_class; /* Pointer to the super
@@ -316,7 +316,10 @@ typedef struct objc_class {
struct objc_protocol_list *protocols; /* Protocols conformed to */
-} Class, *Class_t, MetaClass;
+};
+#define Class struct objc_class
+#define Class_t Class*
+typedef struct objc_class MetaClass;
/* Protocol support */
@@ -412,6 +415,7 @@ typedef struct objc_category {
*/
typedef struct objc_typed_stream TypedStream;
+#include <objc/objc-archive.h>
/*