From 2fed063bf167dcb8f900c4a1f11b0a02ae115d16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sat, 16 Jul 2022 01:53:49 +0200 Subject: Rewrite TszFromSz as TsmFromSz. I.e. using std::basic_string instead of TCHAR *. This removes all unmanaged frees. --- c/pl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'c/pl.h') 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 #include +int PL_get_tchars(term_t, TCHAR **, int); int Plx(const char *, const char *); struct Query { -- cgit v1.2.3