summaryrefslogtreecommitdiff
path: root/prolog/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/core.py')
-rw-r--r--prolog/core.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/prolog/core.py b/prolog/core.py
index b14e58f..afcfdd0 100644
--- a/prolog/core.py
+++ b/prolog/core.py
@@ -860,6 +860,10 @@ PL_cons_list.restype = None
PL_exception = _lib.PL_exception
PL_exception.argtypes = [qid_t]
PL_exception.restype = term_t
+
+PL_clear_exception = _lib.PL_clear_exception
+PL_clear_exception.restype = None
+
#
PL_register_foreign = _lib.PL_register_foreign