aboutsummaryrefslogtreecommitdiff
path: root/c/pl.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-03 22:04:05 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-03 22:04:05 +0200
commitebac89ec6ae0aca646420320c019a0e1cbb79d7c (patch)
tree2506816a2280bcfb5b6a203cba35caa1dca89b71 /c/pl.cpp
parent04daecdd21e86e7556a9462380096530228cd6ca (diff)
downloadEpisodeBrowser-ebac89ec6ae0aca646420320c019a0e1cbb79d7c.tar.gz
Use Pascal case for all functions.
Diffstat (limited to 'c/pl.cpp')
-rw-r--r--c/pl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/pl.cpp b/c/pl.cpp
index 8b3fcbe..b0e7f8e 100644
--- a/c/pl.cpp
+++ b/c/pl.cpp
@@ -90,11 +90,11 @@ int Query::NextSolution()
}
/* Convert Prolog term to wide characters. */
-wchar_ptr PlString(const term_t t, const int flags)
+WcharPtr PlString(const term_t t, const int flags)
{
char* s;
if (PL_get_chars(t, &s, flags))
- return {wchar_ptr::from_narrow(s)};
+ return {WcharPtr::FromNarrow(s)};
else
return {};
}