diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2019-05-15 13:03:24 -0700 |
---|---|---|
committer | Aina Niemetz <aina.niemetz@gmail.com> | 2019-08-07 11:19:57 -0700 |
commit | 58cf0f8f5762c5e7994d84f8a20969632f2be796 (patch) | |
tree | 701a1a7c8a77521df4a534e12c4f9a9ba4e049b1 /src/smt | |
parent | 800845fab13fd153dc94f9951bf05c4cf0fd9d63 (diff) |
New C++ API: Add checks and tests for push/pop. (#3121)
Diffstat (limited to 'src/smt')
-rw-r--r-- | src/smt/smt_engine.h | 5 |
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( |