guile-user
[Top][All Lists]
Advanced

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

Error handling question


From: Fabrice Medio
Subject: Error handling question
Date: Fri, 2 Aug 2002 12:02:43 +0200

Hello !

As I was working on writing guile bindings to my app,
I noticed the whole program was exiting whenever guile
had to evaluate a faulty sexp.

For example, if I do this :
gh_eval_str( "(1 1 1)" );

the whole program aborts with a "wrong type to apply" 
message. 

I've looked at the scm_internal_catch() code, but this 
didn't really help.Would you know about example code
for this particular operation ?

Thanks in advance 

Fabrice




reply via email to

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