4 Element *allocElementSet(Set * s) {
5 ElementSet * tmp=(ElementSet *)ourmalloc(sizeof(ElementSet));
6 GETELEMENTTYPE(tmp)= ELEMSET;
7 GETPARENTSVECTOR(tmp) = allocDefVectorVoid();
8 GETSTRUCTTYPE(tmp) = _ELEMENT;
14 Element* allocElementFunction(Function * function, Element ** array, uint numArrays, Boolean * overflowstatus){
15 ElementFunction* tmp = (ElementFunction*) ourmalloc(sizeof(ElementFunction));
16 GETELEMENTTYPE(tmp)= ELEMFUNCRETURN;
17 GETPARENTSVECTOR(tmp) = allocDefVectorVoid();
18 GETSTRUCTTYPE(tmp) = _ELEMENT;
19 tmp->function=function;
20 tmp->overflowstatus = overflowstatus;
21 tmp->Elements = allocVectorArrayElement(numArrays, array);
25 void deleteElement(Element *This) {
26 DELETEPARENTSVECTOR(This);