#define GETFUNCTIONTYPE(o) (((Function*)o)->type)
-struct Function{
- FunctionType type;
+struct Function {
+ FunctionType type;
};
struct FunctionOperator {
- Function base;
- ArithOp op;
- VectorSet* domains;
- Set * range;
- OverFlowBehavior overflowbehavior;
+ Function base;
+ ArithOp op;
+ uint numDomains;
+ Set ** domains;
+ Set * range;
+ OverFlowBehavior overflowbehavior;
};
-struct FunctionTable{
- Function base;
- Table* table;
+struct FunctionTable {
+ Function base;
+ Table* table;
};
Function* allocFunctionOperator( ArithOp op, Set ** domain, uint numDomain, Set * range,OverFlowBehavior overflowbehavior);