[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exceptions from C code / handling them in scheme
From: |
Richard Guenther |
Subject: |
Re: Exceptions from C code / handling them in scheme |
Date: |
Sun, 1 Apr 2001 18:52:24 +0200 (CEST) |
I should have told you that I'm trying to solve the problem
of handling errors in C code that has been called from scheme
code that has been called from C code... (at the time being
guile just quits my C program if f.i. SCM_ASSERT fails - which
is not very nice).
Richard.
On Sun, 1 Apr 2001, Richard Guenther wrote:
> 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/