aboutsummaryrefslogtreecommitdiff
path: root/c/pl.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-17 02:30:34 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-17 02:30:34 +0200
commitcd5ff302d1b03edb6fe81254c585e0e88c8e71ee (patch)
treebbf61c24e710f6ac07f2973ca31efdd1a2c9cbeb /c/pl.h
parente96b4db3fb46384f286e9297186b87648c7219c4 (diff)
downloadEpisodeBrowser-cd5ff302d1b03edb6fe81254c585e0e88c8e71ee.tar.gz
Name function arguments in headers.
This is obviously a lot less obtuse.
Diffstat (limited to 'c/pl.h')
-rw-r--r--c/pl.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/c/pl.h b/c/pl.h
index 38fa94f..14f6c43 100644
--- a/c/pl.h
+++ b/c/pl.h
@@ -4,16 +4,16 @@
#include <windows.h>
#include <SWI-Prolog.h>
-int PL_get_tchars(term_t, TCHAR**, int);
-int Plx(const char*, const char*);
+int PL_get_tchars(term_t t, TCHAR** lpTsz, int iFlags);
+int Plx(const char* szMod, const char* szPred);
struct Query
{
Query(module_t ctx, predicate_t p, term_t t0);
~Query(void);
- int Cut();
- int Close();
- int NextSolution();
+ int Cut(void);
+ int Close(void);
+ int NextSolution(void);
private:
qid_t m_q;
};