[cffi-devel] C++ Exceptions.
Samium Gromoff
_deepfire at feelingofgreen.ru
Mon Feb 12 15:09:22 UTC 2007
At Mon, 12 Feb 2007 04:52:51 -0500 (EST),
Collin Lynch wrote:
>
> First, thanks for making this system, and apologies if this isn;t the list
> for these questions but there appears to be no cffi-users list.
>
> In any case, is there any way to catch the underlying c++ exceptions
> within a cffi-wrapper? I have developed a C++ library that defines its
> own exceptions and I would like to trap them and generate an appropriate
> Lisp Condition. At present deliberately triggering an error (say by
> passingincorrect parameters to a constructor) gives me back a null
> pointer.
Btw, do you call out to your library, or you plan to just generate exceptions?
If you do call out, how do you manage it?
I mean, C++ name mangling is hard to keep with, etc...
> Thanks,
> Collin Lynch.
regards, Samium Gromoff
More information about the cffi-devel
mailing list