projects
/
rrq
/
rrqmisc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactoring
[rrq/rrqmisc.git]
/
vector
/
Tuple.h
diff --git
a/vector/Tuple.h
b/vector/Tuple.h
index fb6bbd6582df49326f9ceecfcca7f9c88a06d343..ea439c5dbe3ea9955fbb52565bcc26f722b48916 100644
(file)
--- a/
vector/Tuple.h
+++ b/
vector/Tuple.h
@@
-9,7
+9,14
@@
typedef struct TupleSchema TupleSchema;
* A Tuple is a "self typed" array of elements.
*/
typedef struct {
* 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;
void *elements[];
} Tuple;
@@
-25,13
+32,13
@@
extern Tuple *Tuple_create(int arity,...);
*
* \related 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
*/
/**
* \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
#endif