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

Alexander Malmberg alexander@malmberg.org
Fri Feb 6 22:05:00 GMT 2004


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



More information about the Gcc mailing list