diff options
Diffstat (limited to 'c/pl.h')
-rw-r--r-- | c/pl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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? */ } |