.side_type = side_type_vla_visitor_decl(_elem_type, _begin, _end, _get_next), \
}
-#define side_vla_elem(...) \
- SIDE_COMPOUND_LITERAL(const struct side_type_description, side_type_decl(__VA_ARGS__))
-
-#define side_vla_visitor_elem(...) \
- SIDE_COMPOUND_LITERAL(const struct side_type_description, side_type_decl(__VA_ARGS__))
-
-#define side_array_elem(...) \
+#define side_elem(...) \
SIDE_COMPOUND_LITERAL(const struct side_type_description, side_type_decl(__VA_ARGS__))
#define side_field_list(...) \
static side_define_event(my_provider_event_array, "myprovider", "myarray", SIDE_LOGLEVEL_DEBUG,
side_field_list(
- side_field_array("arr", side_array_elem(SIDE_TYPE_U32), 3),
+ side_field_array("arr", side_elem(SIDE_TYPE_U32), 3),
side_field(SIDE_TYPE_S64, "v"),
)
);
static side_define_event(my_provider_event_vla, "myprovider", "myvla", SIDE_LOGLEVEL_DEBUG,
side_field_list(
- side_field_vla("vla", side_vla_elem(SIDE_TYPE_U32)),
+ side_field_vla("vla", side_elem(SIDE_TYPE_U32)),
side_field(SIDE_TYPE_S64, "v"),
)
);
static side_define_event(my_provider_event_vla_visitor, "myprovider", "myvlavisit", SIDE_LOGLEVEL_DEBUG,
side_field_list(
- side_field_vla_visitor("vlavisit", side_vla_visitor_elem(SIDE_TYPE_U32),
+ side_field_vla_visitor("vlavisit", side_elem(SIDE_TYPE_U32),
test_visitor_begin, test_visitor_end, test_visitor_get_next),
side_field(SIDE_TYPE_S64, "v"),
)