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

Fwd: Where to find _objc_insertMethods


  • Subject: Fwd: Where to find _objc_insertMethods
  • From: Bill Greene <email@hidden>
  • Date: Mon, 6 Jun 2005 03:28:47 -0400


From: Bill Greene <email@hidden>
Date: 2005-June -06  3:25:31 AM EDT
To: Sherm Pendley <email@hidden>
Subject: Re: Where to find _objc_insertMethods

Thanks for a quick response. Yes, "nm -a" informs me that _objc_insertMethods is indeed present in /usr/lib/libobjc.dylib, but that the symbol is local.

<objc/objc-private.h>'s line

OBJC_EXPORT void _objc_insertMethods( struct objc_method_list *mlist, struct objc_method_list ***list );

led me to naively suppose that the symbol was exported. Unfortunately for me, the corresponding function signature in <objc/objc-runtime.m>

     void   _objc_insertMethods    (struct objc_method_list *  mlist,
                             struct objc_method_list *** list)

lacks "OBJC_EXPORT".

I'm trying to add support for categories to a non-C-based language in a fashion similar to that of _objc_add_category in <objc/objc-runtime.m>. If I can't call _objc_insertMethods, I guess I'll have to roll my own.


-- 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
  • Prev by Date: Interface Builder - can't unpack subviews on a tab group
  • Next by Date: Re: Where to find _objc_insertMethods
  • Previous by thread: Re: Where to find _objc_insertMethods
  • Next by thread: Re: Where to find _objc_insertMethods
  • Index(es):
    • Date
    • Thread