Merge branch 'hamed' into brian
[satune.git] / src / classlist.h
index cb9f19b65d419c9140143b1c11a0cc40f33f793f..c02268df29bebbe49d56cfca2fb272b297bc7321 100644 (file)
@@ -9,19 +9,81 @@
 
 #ifndef CLASSLIST_H
 #define CLASSLIST_H
-#include "hashset.h"
+
 #include "mymemory.h"
 #include <inttypes.h>
+#define bool int
+#define true 1
+#define false 0
+
+struct CSolver;
+typedef struct CSolver CSolver;
+struct SATEncoder;
+typedef struct SATEncoder SATEncoder;
+
+
+struct Constraint;
+typedef struct Constraint Constraint;
+
+typedef struct BooleanOrder BooleanOrder;
+typedef struct BooleanVar BooleanVar;
+typedef struct BooleanLogic BooleanLogic;
+typedef struct BooleanPredicate BooleanPredicate;
+
+struct ASTNode;
+typedef struct ASTNode ASTNode;
+
+struct Boolean;
+typedef struct Boolean Boolean;
+
+struct IncrementalSolver;
+typedef struct IncrementalSolver IncrementalSolver;
+
+struct Set;
+typedef struct Set Set;
+typedef struct Set MutableSet;
+
+typedef struct ElementFunction ElementFunction;
+typedef struct ElementSet ElementSet;
+
+struct Element;
+typedef struct Element Element;
+
+typedef struct FunctionOperator FunctionOperator;
+typedef struct FunctionTable FunctionTable;
+
+struct Function;
+typedef struct Function Function;
+
+struct Predicate;
+typedef struct Predicate Predicate;
+
+struct PredicateTable;
+typedef struct PredicateTable PredicateTable;
+
+struct PredicateOperator;
+typedef struct PredicateOperator PredicateOperator;
+
+struct Table;
+typedef struct Table Table;
+
+struct Order;
+typedef struct Order Order;
+
+struct OrderPair;
+typedef struct OrderPair OrderPair;
+
+struct ElementEncoding;
+typedef struct ElementEncoding ElementEncoding;
+
+struct FunctionEncoding;
+typedef struct FunctionEncoding FunctionEncoding;
+
+struct OrderEncoding;
+typedef struct OrderEncoding OrderEncoding;
 
-class Constraint;
-class IncrementalSolver;
-class Set;
-class MutableSet;
-class Element;
-class Function;
-class Predicate;
-class Table;
-class Order;
+struct TableEntry;
+typedef struct TableEntry TableEntry;
 
 typedef unsigned int uint;
 typedef uint64_t VarType;