Big Tabbing Change
[satune.git] / src / AST / mutableset.c
1 #include "mutableset.h"
2
3 MutableSet *allocMutableSet(VarType t) {
4         MutableSet *This = (MutableSet *)ourmalloc(sizeof(MutableSet));
5         This->type = t;
6         This->isRange = false;
7         This->low = 0;
8         This->high = 0;
9         This->members = allocDefVectorInt();
10         return This;
11 }
12
13 void addElementMSet(MutableSet *set, uint64_t element) {
14         pushVectorInt(set->members, element);
15 }