now "#include"s objc-archive.h
authorKresten Krab Thorup <krab@gcc.gnu.org>
Mon, 12 Apr 1993 15:44:25 +0000 (15:44 +0000)
committerKresten Krab Thorup <krab@gcc.gnu.org>
Mon, 12 Apr 1993 15:44:25 +0000 (15:44 +0000)
From-SVN: r4094

gcc/objc/objc.h

index da1407ea96fbaaecae299598b86dbfb9ee60dfcd..cf2f4cb186acab1a410f7d3706ac2d6551328d37 100644 (file)
@@ -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>
 
 
 /*