diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-24 02:05:30 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-24 02:05:30 +0200 |
commit | 98f28569b631d36a6f129a17ea7589b48884c1eb (patch) | |
tree | 45fdc18108edaf45fa424324591ab7a7aaa1db10 /c/pl.h | |
parent | 3a133c4063cbb81bee9f5bc55427be75d8e584e0 (diff) | |
download | EpisodeBrowser-98f28569b631d36a6f129a17ea7589b48884c1eb.tar.gz |
Fix PL_get_tchars.
See c6cd2f1.
Diffstat (limited to 'c/pl.h')
-rw-r--r-- | c/pl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 <typename T> int PlString(term_t t, std::basic_string<T>* 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); } |