Re: C++ and stack unwinding/destruction

2007-03-19 Thread Marco Maggi
"David Fang" wrote: > So this means I should be able to stop the dynwind from > plowing through any pure C++ function, in theory, right? Yes. > (I'm still itching to upgrade the libguile API for C++, > if I only had the time to futz with it...) IMHO this is possible only by wrapping libguile wit

Re: C++ and stack unwinding/destruction

2007-03-19 Thread David Fang
> "David Fang" wrote: > > C++ relies heavily on constructor-destructor duality > > [...] > > The implementation of guile's C-style exceptions using > > setjmp/longjmp, however breaks this universal law. > > [...] > > In the event of scm_error_scm(), the destructors that > > *should* be called in th