• 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: Sherm Pendley <email@hidden>
  • Date: Mon, 6 Jun 2005 04:40:58 -0400
  • Resent-cc: Bill Greene <email@hidden>
  • Resent-date: Mon, 6 Jun 2005 04:42:41 -0400
  • Resent-from: Sherm Pendley <email@hidden>
  • Resent-message-id: <email@hidden>
  • Resent-to: Cocoa List <email@hidden>

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

Been there, done that. :-)

If I can't call _objc_insertMethods, I guess I'll have to roll my own.

Why? The documented public functions work just fine for that. Just build up an objc_method_list structure with the methods you want to add, and pass it to class_addMethods().


sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org


_______________________________________________ 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
  • Prev by Date: Fwd: Where to find _objc_insertMethods
  • Next by Date: Re: ISync Plug-in
  • Previous by thread: Fwd: Where to find _objc_insertMethods
  • Next by thread: CoreData + NSOutlineView + Drag and Drop
  • Index(es):
    • Date
    • Thread