aboutsummaryrefslogtreecommitdiff
path: root/c/pl.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/pl.h')
-rw-r--r--c/pl.h4
1 files changed, 2 insertions, 2 deletions
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? */
}