Commit b1fc2c61 by Dennis Glatting

changed typedef and struct decls.

the run-time was changed and those decls changed too.

From-SVN: r63
parent ddeb938e
...@@ -19,10 +19,14 @@ ...@@ -19,10 +19,14 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* *
$Header: /usr/user/dennis_glatting/ObjC/c-runtime/include/RCS/ObjC.h,v 0.2 1991/11/07 22:31:42 dennisg Exp dennisg $ $Header: /usr/user/dennis_glatting/ObjC/c-runtime/include/RCS/ObjC.h,v 0.3 1991/11/16 15:57:35 dennisg Exp dennisg $
$Author: dennisg $ $Author: dennisg $
$Date: 1991/11/07 22:31:42 $ $Date: 1991/11/16 15:57:35 $
$Log: ObjC.h,v $ $Log: ObjC.h,v $
* Revision 0.3 1991/11/16 15:57:35 dennisg
* changed the defs for class structures for new implementation of run-time.
* changed def of SEL back to its original type.
*
* Revision 0.2 1991/11/07 22:31:42 dennisg * Revision 0.2 1991/11/07 22:31:42 dennisg
* added copyleft. * added copyleft.
* *
...@@ -121,9 +125,8 @@ typedef id ( *IMP )( id, SEL, ... ); ...@@ -121,9 +125,8 @@ typedef id ( *IMP )( id, SEL, ... );
first message sent to a first message sent to a
class. It isn't guaranteed class. It isn't guaranteed
to be sent only once. */ to be sent only once. */
#define CLS_POSING 0x8L /* Class is posing as another. #define CLS_POSING 0x8L /* Class is posing as
Used to fix broken another. */
classes. */
#define CLS_MAPPED 0x10L /* Unknown. */ #define CLS_MAPPED 0x10L /* Unknown. */
...@@ -262,7 +265,8 @@ typedef struct objc_metaClass { ...@@ -262,7 +265,8 @@ typedef struct objc_metaClass {
struct objc_metaClass* isa; /* Pointer to Object meta struct objc_metaClass* isa; /* Pointer to Object meta
class. */ class. */
struct objc_metaClass* super_class; /* Pointer to meta class's struct objc_metaClass* super_class; /* Pointer to meta class's
super meta class. */ super class. NULL for
Object. */
char* name; /* Name of the meta class. */ char* name; /* Name of the meta class. */
long version; /* Unknown. */ long version; /* Unknown. */
long info; /* Bit mask. See class masks long info; /* Bit mask. See class masks
...@@ -298,7 +302,8 @@ typedef struct objc_class { ...@@ -298,7 +302,8 @@ typedef struct objc_class {
MetaClass_t isa; /* Pointer to the class's MetaClass_t isa; /* Pointer to the class's
meta class. */ meta class. */
struct objc_class* super_class; /* Pointer to the super struct objc_class* super_class; /* Pointer to the super
class. */ class. NULL for class
Object. */
char* name; /* Name of the class. */ char* name; /* Name of the class. */
long version; /* Unknown. */ long version; /* Unknown. */
long info; /* Bit mask. See class masks long info; /* Bit mask. See class masks
...@@ -354,11 +359,9 @@ typedef struct objc_category { ...@@ -354,11 +359,9 @@ typedef struct objc_category {
* structures and passes it to objc_msgSuper(). * structures and passes it to objc_msgSuper().
*/ */
typedef struct objc_super { typedef struct objc_super {
id receiver; /* Id of the object sending id receiver; /* Id of the object sending
the message. */ the message. */
char* class; /* Name of the object's super Class_t class; /* Object's super class. */
class. Passed to remove a
level of indirection? */
} Super, *Super_t; } Super, *Super_t;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment