aboutsummaryrefslogtreecommitdiff
path: root/c/pl.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-16 01:53:49 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-16 01:53:49 +0200
commit2fed063bf167dcb8f900c4a1f11b0a02ae115d16 (patch)
tree99b41b649fb6a1b6683bd90cd38ab894dd526ce3 /c/pl.h
parent84c3dd3587e219caa80adc2070f0e9fe004c27bc (diff)
downloadEpisodeBrowser-2fed063bf167dcb8f900c4a1f11b0a02ae115d16.tar.gz
Rewrite TszFromSz as TsmFromSz.
I.e. using std::basic_string<TCHAR> instead of TCHAR *. This removes all unmanaged frees.
Diffstat (limited to 'c/pl.h')
-rw-r--r--c/pl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/c/pl.h b/c/pl.h
index f0edfb8..ad13dcc 100644
--- a/c/pl.h
+++ b/c/pl.h
@@ -1,8 +1,10 @@
#ifndef PL_H
#define PL_H
+#include <windows.h>
#include <SWI-Prolog.h>
+int PL_get_tchars(term_t, TCHAR **, int);
int Plx(const char *, const char *);
struct Query
{