This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [libobjc] May I tweak objc-api.h?


Ziemowit Laski wrote:
>    typedef struct objc_super {
>      id      self;                           /* Id of the object sending
>                                                  the message. */
>      Class class;                              /* Object's super class.
> */
>    } Super, *Super_t;
[snip]
> So, do you think it would be OK to rename 'class' above to, say,
> 'super_class'?

This field is used in GNUstep. What do you propose that code should do
to work with both versions? Change the name only if __cplusplus is
defined?

- Alexander Malmberg


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]