* A Tuple is a "self typed" array of elements.
*/
typedef struct {
- TupleSchema *types;
+ /**
+ * The number of elements.
+ */
+ unsigned long size;
+ /**
+ * Base address for element pointers, which thus follow this
+ * struct in memory.
+ */
void *elements[];
} Tuple;
*
* \related Tuple
*/
-extern Tuple *Tuple_calloc(int arity);
+extern Tuple *Tuple_calloc(unsigned long arity);
/**
* \brief Create a tuple as a clone of a given tuple.
*
* \related Tuple
*/
-extern Tuple *Tuple_clone(int arity,Tuple *t);
+extern Tuple *Tuple_clone(Tuple *t);
#endif