aboutsummaryrefslogtreecommitdiff
path: root/c/pl.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-26 19:41:11 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-26 19:41:11 +0200
commitb966497200b47ca5efb3a5853891ea4590927371 (patch)
tree45670cff2c4682f0d0c1b1e33c1dddadfe8d58d7 /c/pl.h
parent547cbe578dcdb5aa5cfdac1cdb327f92bad21219 (diff)
downloadEpisodeBrowser-b966497200b47ca5efb3a5853891ea4590927371.tar.gz
Use 's' instead of 'str' for as prefix for managed strings.
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? */
}