Fix the OPLIST args of TUPLE_OPLIST so that the given oplists match the types used for the definition of the tuple

This commit is contained in:
Patrick Pelissier committed 2022-06-04 23:34:46 +02:00
1 parent f26e1e5a12
commit 9c59684b61
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ TUPLE_DEF2(person,
(present, bool)
)
// Register the oplist of this tuple globaly
#define M_OPL_person_t() TUPLE_OPLIST(person, M_BASIC_OPLIST, STRING_OPLIST, M_BASIC_OPLIST )
#define M_OPL_person_t() TUPLE_OPLIST(person, STRING_OPLIST, M_BASIC_OPLIST, M_BOOL_OPLIST )
// Let's define an array of person
ARRAY_DEF(base, person_t)