• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: List Object's methods using class_nextMethodList Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >List Object's methods using class_nextMethodList Problem (From: colela <email@hidden>)

  • Prev by Date: Re: List Object's methods using class_nextMethodList Problem
  • Next by Date: Re: bitwise operations in obj C
  • Previous by thread: Re: List Object's methods using class_nextMethodList Problem
  • Next by thread: NSRulerView flexibility
  • Index(es):
    • Date
    • Thread