discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: objc-runtime - methodLists not in Class


From: Yen-Ju Chen
Subject: Re: objc-runtime - methodLists not in Class
Date: Mon, 12 May 2003 10:07:57 -0400

From: Tobias <ibotty@web.de>
To: discuss-gnustep@gnu.org
Subject: objc-runtime - methodLists not in Class
Date: Mon, 12 May 2003 15:46:27 +0200

while trying to port rubycocoa (yes it infected me ;), i encountered some
differences:

a)
in 'obc-class' definition, there is a field, which is defined as

struct objc_method_list** methodLists;

 There is a objc_method_list in gcc/.../objc/objc-api.h,
 which is also be defined as MethodList and *MethodList_t.

b)
also in 'objc_class' definition
there is a field

struct objc_class* isa;

which gives the root class of this class. [1]
i can walk down the class hierarchy, but is there allready something
implemented?

 There is a "MetaClass class_pointer" which point to meta-class
 in gcc/.../objc/objc.h

 Not sure this is what you need.
 Hope it help.

 Yen-Ju

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail





reply via email to

[Prev in Thread] Current Thread [Next in Thread]