diff options
Diffstat (limited to 'c/pl.cpp')
-rw-r--r-- | c/pl.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -28,6 +28,16 @@ void Frame::Rewind() PL_rewind_foreign_frame(m_f); } +Mark::Mark() +{ + PL_mark_string_buffers(&m_m); +} + +Mark::~Mark() +{ + PL_release_string_buffers_from_mark(m_m); +} + Query::Query(const module_t ctx, const predicate_t p, const term_t t0) { m_q = PL_open_query(ctx, PL_Q_CATCH_EXCEPTION, p, t0); |