Fix warnings, merge, and check my code in
[satune.git] / src / AST / table.h
index 2bb98051f02c6ec5eefc902c3765cebda393d3b4..21e3223bed689c99c53bca19a65a2c88f1c1ce05 100644 (file)
@@ -2,10 +2,15 @@
 #define TABLE_H
 #include "classlist.h"
 #include "mymemory.h"
+#include "structs.h"
 
 struct Table {
-
+    VectorSet* domains;
+    Set * range;
+    VectorTableEntry* entries;
 };
 
-Table * allocTable();
+Table * allocTable(Set **domains, uint numDomain, Set * range);
+void addNewTableEntry(Table* table, uint64_t* inputs, uint inputSize, uint64_t result);
+void deleteTable(Table* table);
 #endif