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.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c/pl.h') diff --git a/c/pl.h b/c/pl.h index 5c67af6..4a5ea41 100644 --- a/c/pl.h +++ b/c/pl.h @@ -7,7 +7,7 @@ #include "common.h" -int PlString(term_t t, std::wstring* pWstr, int iFlags = CVT_WRITE); +int PlString(term_t t, std::wstring* pWs, int iFlags = CVT_WRITE); struct Frame { @@ -76,7 +76,7 @@ inline int PlGet(term_t t, std::wstring* x) { Mark m; char* sz; if (!PlGet(t, &sz)) return 0; - *x = WstrFromSz(sz); + *x = WsFromSz(sz); return 1; /* or catch potential exception from BstrFromSz? */ } -- cgit v1.2.3