guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Exceptions from C code / handling them in scheme


From: Richard Guenther
Subject: Exceptions from C code / handling them in scheme
Date: Sun, 1 Apr 2001 18:37:48 +0200 (CEST)

Hi!

What is the recommended way to "fail" in C code called from
scheme? I.e. is there something like an exception that can
be thrown and catchen in scheme code? I see there is f.i.
SCM_ASSERT - how can I manually "throw" such an exception and
how can I catch this in scheme code? A simple example would
be helpful.

Thanx, Richard.

--
Richard Guenther <address@hidden>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/
The GLAME Project: http://www.glame.de/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]