Re: List Object's methods using class_nextMethodList Problem
Re: List Object's methods using class_nextMethodList Problem
- Subject: Re: List Object's methods using class_nextMethodList Problem
- From: Paul Goracke <email@hidden>
- Date: Wed, 17 Oct 2007 11:56:34 -0700
On Oct 17, 2007, at 11:19 AM, colela wrote:
When I remove the comments around the for loop, the compiler
generates 2 "dereferencing pointer to incomplete type" error
messages; 1 for the method_count reference and 1 for the
method_name reference.
There are also "assignment makes pointer from integer without a cast"
warnings which I see when trying to compile your code. These are all
indicative of the compiler not knowing the method prototypes.
Adding '#import <objc/objc-runtime.h>' to your implementation file
should fix it.
pg
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden