• 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: NSModule question (and partial answer)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NSModule question (and partial answer)
      • From: Thomas Lachand-Robert <email@hidden>
References: 
 >NSModule question (and partial answer) (From: Thomas Lachand-Robert <email@hidden>)

  • Prev by Date: Examples for CPFMOX out there?
  • Next by Date: Re: NSModule question (and partial answer)
  • Previous by thread: NSModule question (and partial answer)
  • Next by thread: Re: NSModule question (and partial answer)
  • Index(es):
    • Date
    • Thread