Re: [CM] s7: Legality of calling s7_error from C (without being called from scheme)

2017-05-08 Thread Kjetil Matheussen
Thank you. That makes sense. (And I meant *error-hook*, not *rootlet-redefinition-hook*, of course. Too quick with the copy/pasting there.) On Mon, May 8, 2017 at 4:57 PM, wrote: > s7_error will look for an active (s7-internal) > setjmp if the error > is not

Re: [CM] s7: Legality of calling s7_error from C (without being called from scheme)

2017-05-08 Thread bil
s7_error will look for an active (s7-internal) setjmp if the error is not otherwise caught, and not handled by *error-hook*; if it doesn't find one, it just returns. In the code you sent, I think it just returns after trying to print the error info. I think Snd sets up its own top-level setjmp