From 2ffbd7fcc178e68e7132d2f8f649d131c5a5d3af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Tue, 19 Jul 2022 14:49:24 +0200 Subject: Add comments. --- c/pl.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'c/pl.h') diff --git a/c/pl.h b/c/pl.h index d4bf18b..00285e0 100644 --- a/c/pl.h +++ b/c/pl.h @@ -95,14 +95,6 @@ int Plx(const char* const szMod, const char* const szPred, T... args) } /* Call Prolog predicate, ignoring Prolog exceptions. */ -inline int Pl(const char* const szMod, const char* const szPred) -{ - try { - return Plx(szMod, szPred); - } catch (term_t& t) { - return 0; - } -} template int Pl(const char* const szMod, const char* const szPred, T... args) { -- cgit v1.2.3