summaryrefslogtreecommitdiff
path: root/src/theory/arith/arithvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/arith/arithvar.h')
-rw-r--r--src/theory/arith/arithvar.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/theory/arith/arithvar.h b/src/theory/arith/arithvar.h
index 7cb6c6e99..eac238cba 100644
--- a/src/theory/arith/arithvar.h
+++ b/src/theory/arith/arithvar.h
@@ -50,6 +50,16 @@ public:
virtual void operator()(ArithVar x) = 0;
};
+/**
+ * Requests arithmetic variables for internal use,
+ * and releases arithmetic variables that are no longer being used.
+ */
+class ArithVarMalloc {
+public:
+ virtual ArithVar request() = 0;
+ virtual void release(ArithVar v) = 0;
+};
+
class TNodeCallBack {
public:
virtual void operator()(TNode n) = 0;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback