diff options
author | Ziemowit Laski <zlaski@apple.com> | 2004-02-06 23:54:30 +0000 |
---|---|---|
committer | Ziemowit Laski <zlaski@gcc.gnu.org> | 2004-02-06 23:54:30 +0000 |
commit | 25fe8680dbb850dbc9586995b742e8d8af1dd7f1 (patch) | |
tree | 3494357a006e4ad2e04e2204957d64833ae2d38e /libobjc | |
parent | eee54836b14e0a674f21a615b544625af5e7e6eb (diff) | |
download | gcc-25fe8680dbb850dbc9586995b742e8d8af1dd7f1.tar.gz |
[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/ChangeLog | 5 | ||||
-rw-r--r-- | libobjc/objc/objc-api.h | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index cf2fe5f73ac..bc769460d89 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 b50fa1bda90..dc8af068f0e 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); |