Add Const API to frontend
[satune.git] / src / AST / table.h
index 2bb98051f02c6ec5eefc902c3765cebda393d3b4..d2df3a4d62b132aa0c54762b955562b53a5d7825 100644 (file)
@@ -2,10 +2,15 @@
 #define TABLE_H
 #include "classlist.h"
 #include "mymemory.h"
+#include "structs.h"
 
 struct Table {
-
+       ArraySet domains;
+       Set * range;
+       VectorTableEntry entries;
 };
 
-Table * allocTable();
+Table * allocTable(Set ** domains, uint numDomain, Set * range);
+void addNewTableEntry(Table * This, uint64_t * inputs, uint inputSize, uint64_t result);
+void deleteTable(Table * This);
 #endif