Of course one problem is that R hides things that I need for this, such as
R_HandlerStack and R_ReturnedValue.
I understand they have to be hidden, in which case can we have an exposed
mechanism similar to what R_ToplevelExec does, but with the added functionality
of giving access to the condi
Hello,
I’m trying to leverage R_ToplevelExec to implement C level try/catch.
The way it is implemented allows for running a function in a top level context.
This context gets an empty handler stack, so either the function runs correctly
or it jumps. When it jumps, it does not find a handler,