Fwd: Where to find _objc_insertMethods
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