Skip to content

Commit 85f0637

Browse files
committed
Extend arity to 30.
This is all a bit suboptimal and it would be nice to find a single compile-time knob to increase arity. Alas, for now, we'll do it this way.
1 parent d6dfcb1 commit 85f0637

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

src/interpreter/Util.h

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@ namespace souffle::interpreter {
7575
func(Btree, 20, 0, __VA_ARGS__) \
7676
func(Btree, 21, 0, __VA_ARGS__) \
7777
func(Btree, 22, 0, __VA_ARGS__) \
78+
func(Btree, 23, 0, __VA_ARGS__) \
79+
func(Btree, 24, 0, __VA_ARGS__) \
80+
func(Btree, 25, 0, __VA_ARGS__) \
81+
func(Btree, 26, 0, __VA_ARGS__) \
82+
func(Btree, 27, 0, __VA_ARGS__) \
83+
func(Btree, 28, 0, __VA_ARGS__) \
84+
func(Btree, 29, 0, __VA_ARGS__) \
85+
func(Btree, 30, 0, __VA_ARGS__) \
7886
func(Btree, 1, 1, __VA_ARGS__) \
7987
func(Btree, 2, 1, __VA_ARGS__) \
8088
func(Btree, 2, 2, __VA_ARGS__) \
@@ -115,7 +123,15 @@ namespace souffle::interpreter {
115123
func(BtreeDelete, 19, 0, __VA_ARGS__) \
116124
func(BtreeDelete, 20, 0, __VA_ARGS__) \
117125
func(BtreeDelete, 21, 0, __VA_ARGS__) \
118-
func(BtreeDelete, 22, 0, __VA_ARGS__)
126+
func(BtreeDelete, 22, 0, __VA_ARGS__) \
127+
func(BtreeDelete, 23, 0, __VA_ARGS__) \
128+
func(BtreeDelete, 24, 0, __VA_ARGS__) \
129+
func(BtreeDelete, 25, 0, __VA_ARGS__) \
130+
func(BtreeDelete, 26, 0, __VA_ARGS__) \
131+
func(BtreeDelete, 27, 0, __VA_ARGS__) \
132+
func(BtreeDelete, 28, 0, __VA_ARGS__) \
133+
func(BtreeDelete, 29, 0, __VA_ARGS__) \
134+
func(BtreeDelete, 30, 0, __VA_ARGS__)
119135

120136
// Brie is disabled for now.
121137
#define FOR_EACH_BRIE(func, ...)

0 commit comments

Comments
 (0)