aboutsummaryrefslogtreecommitdiff
path: root/c/pl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c/pl.cpp')
-rw-r--r--c/pl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/pl.cpp b/c/pl.cpp
index 307fc1e..dcabd78 100644
--- a/c/pl.cpp
+++ b/c/pl.cpp
@@ -34,7 +34,7 @@ int Query::NextSolution()
return 0;
}
-int PL_get_tchars(const term_t t, TCHAR **lpTsz, const int iFlags)
+int PL_get_tchars(const term_t t, TCHAR** const lpTsz, const int iFlags)
{
#ifdef UNICODE
size_t len;
@@ -48,7 +48,7 @@ int PL_get_tchars(const term_t t, TCHAR **lpTsz, const int iFlags)
#endif
}
-int Plx(const char *szMod, const char *szPred)
+int Plx(const char* const szMod, const char* const szPred)
{
const term_t t = PL_new_term_refs(0);
Query q(NULL, PL_predicate(szPred, 0, szMod), t);