aboutsummaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authorZiemowit Laski <zlaski@apple.com>2004-02-06 23:54:30 +0000
committerZiemowit Laski <zlaski@gcc.gnu.org>2004-02-06 23:54:30 +0000
commit25fe8680dbb850dbc9586995b742e8d8af1dd7f1 (patch)
tree3494357a006e4ad2e04e2204957d64833ae2d38e /libobjc
parenteee54836b14e0a674f21a615b544625af5e7e6eb (diff)
downloadgcc-25fe8680dbb850dbc9586995b742e8d8af1dd7f1.zip
gcc-25fe8680dbb850dbc9586995b742e8d8af1dd7f1.tar.gz
gcc-25fe8680dbb850dbc9586995b742e8d8af1dd7f1.tar.bz2
[gcc/ChangeLog]
2004-02-06 Ziemowit Laski <zlaski@apple.com> * objc/objc-act.c (build_super_template) the 'class' field of 'struct _objc_super' shall be named 'super_class' #ifdef OBJCPLUS. (get_super_receiver): Likewise. [gcc/libobjc/ChangeLog] 2004-02-06 Ziemowit Laski <zlaski@apple.com> * objc/objc-api.h (objc_super): The 'class' field shall be named 'super_class' #ifdef __cplusplus. From-SVN: r77430
Diffstat (limited to 'libobjc')
-rw-r--r--libobjc/ChangeLog5
-rw-r--r--libobjc/objc/objc-api.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index cf2fe5f..bc76946 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-06 Ziemowit Laski <zlaski@apple.com>
+
+ * objc/objc-api.h (objc_super): The 'class' field shall
+ be named 'super_class' #ifdef __cplusplus.
+
2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
PR target/10781
diff --git a/libobjc/objc/objc-api.h b/libobjc/objc/objc-api.h
index b50fa1b..dc8af06 100644
--- a/libobjc/objc/objc-api.h
+++ b/libobjc/objc/objc-api.h
@@ -342,7 +342,11 @@ typedef struct objc_category {
typedef struct objc_super {
id self; /* Id of the object sending
the message. */
+#ifdef __cplusplus
+ Class super_class;
+#else
Class class; /* Object's super class. */
+#endif
} Super, *Super_t;
IMP objc_msg_lookup_super(Super_t super, SEL sel);