[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Stack unwinding for C code
From: |
Marius Vollmer |
Subject: |
Re: Stack unwinding for C code |
Date: |
Mon, 29 Dec 2003 23:12:33 +0100 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
Tom Lord <address@hidden> writes:
> > From: Marius Vollmer <address@hidden>
>
> > First, we (on #guile) tried some approaches that would prevent the
> > throwing of errors.
>
>
> Did you consider simply using error-codes as return values?
Yes. That would create two different styles of libguile functions,
and you wouldn't be able to use the functions that throw errors in
situations were you have cleanups pending. That would be too
restricing I think.
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405