[Pythonmac-SIG] pyobjc.so [was: Knock me over with a spoon!]

Jack Jansen Jack.Jansen@oratrix.nl
Sat, 19 Jan 2002 00:34:16 +0100


On Friday, January 18, 2002, at 07:29  PM, Steven Majewski wrote:
>
> I keep forgetting where to find the docs for those routines --
> 'man -k' never seems to find it for me. ( It's 'man NSModule', BTW.)
>
>        NSLINKMODULE_OPTION_RETURN_ON_ERROR
>               With this option if errors occur while binding this
>               module it  is  automaticly  unloaded  and  NULL  is
>               returned  as  the  module handle.  To get the error
>               information for the module that failed to load  the
>               routine  NSLinkEditError  is then used.  It has the
>               same parameters as the link edit error handler (see
>               below)  except  all  the parameters are pointers in
>               which the information is returned indirectly.
>
>
> Looks like I need to insert a call to NSLinkEditError to
> get the specific error info.
>
If you get a better exception could you post a patch?
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- 
Emma Goldman -