Adding UndefinedBehavior + TablePredicate to client APIs
[satune.git] / src / AST / function.h
index 28f53c7d79d4cd2fb2e489fe1ce3aa35ed7e945f..562d3e9e06f096ab89155aa3621418b94e333e52 100644 (file)
@@ -22,10 +22,11 @@ struct FunctionOperator {
 struct FunctionTable {
        Function base;
        Table* table;
+       UndefinedBehavior undefBehavior;
 };
 
 Function* allocFunctionOperator(ArithOp op, Set ** domain, uint numDomain, Set * range, OverFlowBehavior overflowbehavior);
-Function* allocFunctionTable (Table* table);
+Function* allocFunctionTable (Table* table, UndefinedBehavior behavior);
 uint64_t applyFunctionOperator(FunctionOperator* This, uint numVals, uint64_t * values);
 bool isInRangeFunction(FunctionOperator *This, uint64_t val);
 void deleteFunction(Function* This);