[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libobjc] May I tweak objc-api.h?
From: |
Ziemowit Laski |
Subject: |
[libobjc] May I tweak objc-api.h? |
Date: |
Fri, 6 Feb 2004 12:52:15 -0800 |
Specifically,
typedef struct objc_super {
id self; /* Id of the object sending
the message. */
Class class; /* Object's super class.
*/
} Super, *Super_t;
As you may guess, C++ is not too crazy about using 'class'
as an identifier. In the past, I hacked Apple's ObjC++
compiler to accept this. :-( Now, though, I'm working on
putting ObjC++ into the FSF, where it should behave more sanely.
(Turns out that our NeXT headers have exactly the same problem,
and I'm hoping to be able to tweak them as well.)
So, do you think it would be OK to rename 'class' above to, say,
'super_class'?
Thanks,
--Zem
--------------------------------------------------------------
Ziemowit Laski 1 Infinite Loop, MS 301-2K
Mac OS X Compiler Group Cupertino, CA USA 95014-2083
Apple Computer, Inc. +1.408.974.6229 Fax .5477
- [libobjc] May I tweak objc-api.h?,
Ziemowit Laski <=
- Re: [libobjc] May I tweak objc-api.h?, Andrew Pinski, 2004/02/06
- Re: [libobjc] May I tweak objc-api.h?, Alexander Malmberg, 2004/02/06
- Re: [libobjc] May I tweak objc-api.h?, Ziemowit Laski, 2004/02/06
- Re: [libobjc] May I tweak objc-api.h?, Alexander Malmberg, 2004/02/06
- Re: [libobjc] May I tweak objc-api.h?, Ziemowit Laski, 2004/02/06
- Re: [libobjc] May I tweak objc-api.h?, Alexander Malmberg, 2004/02/06
- Re: [libobjc] May I tweak objc-api.h?, Greg Parker, 2004/02/06
- Re: [libobjc] May I tweak objc-api.h?, Markus Hitter, 2004/02/07
- Re: [libobjc] May I tweak objc-api.h?, Nicola Pero, 2004/02/06