Fix oplist definition for tuple.
The oplist didn't include as many sub-oplists as the number of variables.
This commit is contained in:
1 parent
e017a90e5c
commit
1df8bf84fb
1 file changed
+14
-1
@@ -61,7 +61,20 @@ TUPLE_DEF2(my,
|
|||||||
(vall, double),
|
(vall, double),
|
||||||
(valm, long double)
|
(valm, long double)
|
||||||
)
|
)
|
||||||
#define M_OPL_my_t() TUPLE_OPLIST(my, M_BASIC_OPLIST, M_BASIC_OPLIST, M_BASIC_OPLIST, STRING_OPLIST, M_OPL_a2_t(), M_OPL_v2_t(), M_OPL_l2_t(), M_OPL_d2_t() )
|
#define M_OPL_my_t() TUPLE_OPLIST(my, \
|
||||||
|
M_BASIC_OPLIST, \
|
||||||
|
M_BASIC_OPLIST, \
|
||||||
|
M_BOOL_OPLIST, \
|
||||||
|
STRING_OPLIST, \
|
||||||
|
M_OPL_a2_t(), \
|
||||||
|
M_OPL_v2_t(), \
|
||||||
|
M_OPL_l2_t(), \
|
||||||
|
M_OPL_d2_t(), \
|
||||||
|
M_BASIC_OPLIST, \
|
||||||
|
M_BASIC_OPLIST, \
|
||||||
|
M_BASIC_OPLIST, \
|
||||||
|
M_BASIC_OPLIST, \
|
||||||
|
M_BASIC_OPLIST )
|
||||||
|
|
||||||
TUPLE_DEF2(my2,
|
TUPLE_DEF2(my2,
|
||||||
(activated, bool),
|
(activated, bool),
|
||||||
|
|||||||
Reference in new issue
Block a user