summaryrefslogtreecommitdiff
path: root/src/smt
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2019-05-15 13:03:24 -0700
committerAina Niemetz <aina.niemetz@gmail.com>2019-08-07 11:19:57 -0700
commit58cf0f8f5762c5e7994d84f8a20969632f2be796 (patch)
tree701a1a7c8a77521df4a534e12c4f9a9ba4e049b1 /src/smt
parent800845fab13fd153dc94f9951bf05c4cf0fd9d63 (diff)
New C++ API: Add checks and tests for push/pop. (#3121)
Diffstat (limited to 'src/smt')
-rw-r--r--src/smt/smt_engine.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/smt/smt_engine.h b/src/smt/smt_engine.h
index dc275218f..ead337862 100644
--- a/src/smt/smt_engine.h
+++ b/src/smt/smt_engine.h
@@ -539,6 +539,11 @@ class CVC4_PUBLIC SmtEngine {
bool isFullyInited() { return d_fullyInited; }
/**
+ * Return the user context level.
+ */
+ size_t getNumUserLevels() { return d_userLevels.size(); }
+
+ /**
* Set the logic of the script.
*/
void setLogic(
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback