Hi Cedric, On Mon 06 Sep 2010 13:20, Cedric Cellier <[email protected]> writes:
> SCM res = scm_with_guile(load_file, "a_file_that_doesnt_exist"); This statement is ill-formed, because you shouldn't have references to SCM objects outside of Guile. This is indicated by scm_with_guile's return value, which is void* and not SCM. The docs about scm_with_continuation_barrier are correct; it does indeed return #f on a throw. But scm_with_guile uses scm_c_with_continuation_barrier, which is different, because it returns a C value, a void*. The error case there has it return NULL. Regards, Andy -- http://wingolog.org/
