From cd5ff302d1b03edb6fe81254c585e0e88c8e71ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sun, 17 Jul 2022 02:30:34 +0200 Subject: Name function arguments in headers. This is obviously a lot less obtuse. --- c/pl.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'c/pl.h') 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 #include -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; }; -- cgit v1.2.3