#include <string.h>
#include <Tuple.h>
+Tuple *Tuple_calloc(int arity) {
+ Tuple *t = (Tuple *) malloc( sizeof( Tuple ) + arity * sizeof( void* ) );
+ t->types = 0;
+ memset( t->elements, 0, arity * sizeof( void* ) );
+ return t;
+}
+
// Allocate
Tuple *Tuple_create(int arity,...) {
va_list ap;
return ct;
}
+#if 0
unsigned long Tuple_mask(int arity,Tuple *t) {
unsigned long mask = 0;
while ( arity-- > 0 ) {
}
return mask;
}
+#endif