Re: NSModule question (and partial answer)
Re: NSModule question (and partial answer)
- Subject: Re: NSModule question (and partial answer)
- From: "Timothy J. Wood" <email@hidden>
- Date: Mon, 15 Apr 2002 09:26:42 -0700
On Monday, April 15, 2002, at 04:38 AM, Thomas Lachand-Robert wrote:
1/ Is it possible to retrieve the whole signature of the function by a
similar way? (types of arguments, etc.)
In the general case, no. C doesn't store the type signature in the
symbol name and if you do an install build the debug symbols will get
stripped.
2/ I actually need to retrieve symbol in a statically linked library
(GSL precisely). But the previous code doesn't work, even when my
program is linked with GSL and direct calls to GSL functions work?
Is GSL using C++? Run nm on the GSL library and try to find the
symbol name you are looking up -- make sure that you 'spell' it exactly
the same including any name mangling.
-tim
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.