From 7e200d93b366fd4f8c969bfa3c2eb11c34aadcee Mon Sep 17 00:00:00 2001 From: zlaski Date: Fri, 6 Feb 2004 23:54:30 +0000 Subject: [gcc/ChangeLog] 2004-02-06 Ziemowit Laski * 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 * objc/objc-api.h (objc_super): The 'class' field shall be named 'super_class' #ifdef __cplusplus. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77430 138bc75d-0d04-0410-961f-82ee72b054a4 --- libobjc/objc/objc-api.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libobjc/objc') 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); -- cgit v1.2.1