List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:March 26 2007 2:49pm
Subject:[Fwd: Re: [Swig-user] Perl and SWIG_exception]
View as plain text  
Ok, so here is a response I got back from the swig guys about
SWIG_exception and Perl. Looks like our current hack to redefine
SWIG_exception should be fine until the next release of SWIG when it
will no longer be necessary.

-------- Original Message --------
Subject: Re: [Swig-user] Perl and SWIG_exception
Date: Sun, 25 Mar 2007 12:41:02 -0500
From: John Lenz <jlenz2@stripped>
To: Monty Taylor <mordred@stripped>
CC: swig-user@stripped
References: <46023B7B.2020504@stripped>

On 03/22/2007 03:16 AM, Monty Taylor wrote:
> Did the patch ever go in for this? Or is development moving down another
> path? Suggestions? I'd _really_ prefer not to have to make my own
> wrapper macro that calls SWIG_exception unless we're in Perl (or Ruby,
> if I read the thread right) in which case we want to call
> SWIG_exception_fail... :) )
> 

Oops, guess I forgot.  I said I was going to change this after the
release, but got tied up in the conversion to subversion...

Notice that you can create an exception.i in your build directory, and
it will automatically overwrite the exception.i in the Lib directory...
http://www.swig.org/Doc1.3/Library.html#Library

But in any case, I just committed a fix to SVN so you don't have to do that.

John
Thread
[Fwd: Re: [Swig-user] Perl and SWIG_exception]Monty Taylor26 Mar