From 98f28569b631d36a6f129a17ea7589b48884c1eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sun, 24 Jul 2022 02:05:30 +0200 Subject: Fix PL_get_tchars. See c6cd2f1. --- c/pl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c/pl.h') diff --git a/c/pl.h b/c/pl.h index d1c01c4..4a44f72 100644 --- a/c/pl.h +++ b/c/pl.h @@ -7,8 +7,6 @@ #include "common.h" -int PL_get_tchars(term_t t, TCHAR** pTsz, int iFlags); - struct Frame { Frame(); @@ -39,6 +37,8 @@ private: qid_t m_q; }; +template int PlString(term_t t, std::basic_string* pBstr, int iFlags = CVT_WRITE); + /* Polymorphic aliases for PL_put_*, PL_get_*. */ inline int PlPut(term_t t, int x) { return PL_put_integer(t, x); } inline int PlPut(term_t t, long x) { return PL_put_integer(t, x); } -- cgit v1.2.3