aboutsummaryrefslogtreecommitdiff
path: root/c/pl.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-19 14:49:24 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-19 14:49:24 +0200
commit2ffbd7fcc178e68e7132d2f8f649d131c5a5d3af (patch)
tree7a3983e4ccd4ab14413fe9209a8142727cb83a23 /c/pl.h
parentaac409bdd73fd96d256f87285a7c9b959d2117b3 (diff)
downloadEpisodeBrowser-2ffbd7fcc178e68e7132d2f8f649d131c5a5d3af.tar.gz
Add comments.
Diffstat (limited to 'c/pl.h')
-rw-r--r--c/pl.h8
1 files changed, 0 insertions, 8 deletions
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 <typename ...T>
int Pl(const char* const szMod, const char* const szPred, T... args)
{