Index: src/runtime/runtime.h ================================================================== --- src/runtime/runtime.h +++ src/runtime/runtime.h @@ -29,11 +29,11 @@ Class superclass; const char *name; unsigned long version; unsigned long info; unsigned long instance_size; - void *ivars; + struct objc_ivar_list *ivars; struct objc_method_list *methodlist; struct objc_sparsearray *dtable; Class *subclass_list; void *sibling_class; struct objc_protocol_list *protocols; @@ -73,10 +73,21 @@ const char *class_name; struct objc_method_list *instance_methods; struct objc_method_list *class_methods; struct objc_protocol_list *protocols; }; + +struct objc_ivar { + const char *name; + const char *type; + unsigned offset; +}; + +struct objc_ivar_list { + unsigned count; + struct objc_ivar ivars[1]; +}; #ifdef __OBJC__ @interface Protocol { @public