From b966497200b47ca5efb3a5853891ea4590927371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Tue, 26 Jul 2022 19:41:11 +0200 Subject: Use 's' instead of 'str' for as prefix for managed strings. --- c/pl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c/pl.cpp') diff --git a/c/pl.cpp b/c/pl.cpp index 0114454..6e71383 100644 --- a/c/pl.cpp +++ b/c/pl.cpp @@ -78,10 +78,10 @@ int Query::NextSolution() } /* Convert Prolog term to wide characters. */ -int PlString(const term_t t, std::wstring* const pWstr, const int iFlags) +int PlString(const term_t t, std::wstring* const pWs, const int iFlags) { char* sz; int r = PL_get_chars(t, &sz, iFlags); - if (r) *pWstr = WstrFromSz(sz); + if (r) *pWs = WsFromSz(sz); return r; } -- cgit v1.2.3