Boolean * allocBooleanLogicArray(CSolver *solver, LogicOp op, Boolean ** array, uint asize);
void deleteBoolean(Boolean * This);
-inline FunctionEncoding* getPredicateFunctionEncoding(BooleanPredicate* func){
+static inline FunctionEncoding* getPredicateFunctionEncoding(BooleanPredicate* func){
return &func->encoding;
}
Element* allocElementFunction(Function * function, Element ** array, uint numArrays, Boolean * overflowstatus);
void deleteElement(Element *This);
-inline ElementEncoding* getElementEncoding(Element* This){
+static inline ElementEncoding* getElementEncoding(Element* This){
switch(GETELEMENTTYPE(This)){
case ELEMSET:
return &((ElementSet*)This)->encoding;
}
-inline FunctionEncoding* getElementFunctionEncoding(ElementFunction* func){
+static inline FunctionEncoding* getElementFunctionEncoding(ElementFunction* func){
return &func->functionencoding;
}
VectorConstraint allConstraints;
};
-inline VectorConstraint* getSATEncoderVars(SATEncoder* ne){
+static inline VectorConstraint* getSATEncoderVars(SATEncoder* ne){
return &ne->vars;
}
-inline VectorConstraint* getSATEncoderAllConstraints(SATEncoder* ne){
+static inline VectorConstraint* getSATEncoderAllConstraints(SATEncoder* ne){
return &ne->allConstraints;
}
SATEncoder * allocSATEncoder();