summaryrefslogtreecommitdiff
path: root/src/smt/command_list.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/smt/command_list.cpp')
-rw-r--r--src/smt/command_list.cpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/smt/command_list.cpp b/src/smt/command_list.cpp
new file mode 100644
index 000000000..7fb6cf013
--- /dev/null
+++ b/src/smt/command_list.cpp
@@ -0,0 +1,33 @@
+/********************* */
+/*! \file command_list.cpp
+ ** \verbatim
+ ** Original author: mdeters
+ ** Major contributors: none
+ ** Minor contributors (to current version): none
+ ** This file is part of the CVC4 prototype.
+ ** Copyright (c) 2009-2012 The Analysis of Computer Systems Group (ACSys)
+ ** Courant Institute of Mathematical Sciences
+ ** New York University
+ ** See the file COPYING in the top-level source directory for licensing
+ ** information.\endverbatim
+ **
+ ** \brief A context-sensitive list of Commands, and their cleanup
+ **
+ ** A context-sensitive list of Commands, and their cleanup.
+ **/
+
+// we include both of these to make sure they agree on the typedef
+#include "smt/command_list.h"
+#include "smt/smt_engine.h"
+
+#include "expr/command.h"
+
+namespace CVC4 {
+namespace smt {
+
+void CommandCleanup::operator()(Command** c) {
+ delete *c;
+}
+
+}/* CVC4::smt namespace */
+}/* CVC4 namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback