-#define TUPLEITEMINIT(arity, ... ) { \
- functions = { \
- .hashcode = tupleitem_hashcode, \
- .haskey = tupleitem_haskey, \
- .itemkey = tupleitem_itemkey, \
- .releasekey = tupleitem_releasekey \
- }, \
- .arity = arity, \
- .schema = { __VA_ARGS__ } \
- }
+#define TUPLESCHEMA(...) \
+ tupleschema_create( NUMARGS( __VA_ARGS__ ), TUPLE( __VA_ARGS__ ) )
+