• 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: Where to find _objc_insertMethods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where to find _objc_insertMethods


  • Subject: Re: Where to find _objc_insertMethods
  • From: Bill Greene <email@hidden>
  • Date: Mon, 6 Jun 2005 13:42:42 -0400

On Jun 6, 2005, at 3:25 AM, Bill Greene wrote:

I'm trying to add support for categories to a non-C-based language

Bill Greene wrote:
I'm linking with "-framework Cocoa" and get the error "ld: Undefined
symbols:
__objc_insertMethods".  How can I resolve this?

_objc_insertMethods() is a function internal to the Objective-C runtime. Nothing outside the runtime should be calling it. You should find the code that uses that function and change it.

To add methods to classes, call class_addMethods() instead.

Will that work for categories? I use class_addMethods() for the instance and class methods.


     -- Bill

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Where to find _objc_insertMethods
      • From: Greg Parker <email@hidden>
    • Re: Where to find _objc_insertMethods
      • From: Sherm Pendley <email@hidden>
References: 
 >Where to find _objc_insertMethods (From: Bill Greene <email@hidden>)
 >Re: Where to find _objc_insertMethods (From: Greg Parker <email@hidden>)

  • Prev by Date: Re: Fullscreen code not working
  • Next by Date: NSOutlineview, data changing from outside the outlineview's events
  • Previous by thread: Re: Where to find _objc_insertMethods
  • Next by thread: Re: Where to find _objc_insertMethods
  • Index(es):
    • Date
    • Thread