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

Kjetil Matheussen k.s.matheussen at gmail.com
Mon May 8 08:03:39 PDT 2017


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, <bil at ccrma.stanford.edu> wrote:

> 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
> and catches this case so that uncaught errors
> always return to its top level.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/mailman/private/cmdist/attachments/20170508/c0701f86/attachment.html>


More information about the Cmdist mailing list