[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Raising Prolog exceptions from C code
From: |
Roberto Bagnara |
Subject: |
Raising Prolog exceptions from C code |
Date: |
Wed, 10 Apr 2002 10:01:13 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020326 |
Dear all,
what is the recommended way to raise a Prolog exception from foreign C code?
Is it
Pl_Exec_Continuation(Find_Atom("throw"), 1, &t)
where t is any variable of type PlTerm?
The manual seems to suggest that, but I would like to know for sure.
Thanks a lot
Roberto
--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Raising Prolog exceptions from C code,
Roberto Bagnara <=