ECL_CATCH_BEGIN
— C macro for catch
ECL_CATCH_BEGIN
(env,tag) {
} ECL_CATCH_END
;
ECL_CATCH_BEGIN
establishes a destination for throw with the code given by tag
.
env
must be the value of the current Common Lisp environment, obtained with ecl_process_env
.
The C/C++ program has to ensure that the code in ECL_CATCH_END
gets executed, avoiding a direct exit of the catch block via goto
or a C/C++ return
.