Re: [PATCH 12/22] test-qobject-input-visitor: Wean off UserDefListUnion

2021-09-13 Thread Markus Armbruster
Eric Blake writes: > On Mon, Sep 13, 2021 at 02:39:22PM +0200, Markus Armbruster wrote: >> The test_visitor_in_list_union_FOO() use simple union UserDefListUnion >> to cover lists of builtin types. Rewrite as >> test_visitor_in_list_struct(), using struct ArrayStruct and a lot less >> code. >>

Re: [PATCH 12/22] test-qobject-input-visitor: Wean off UserDefListUnion

2021-09-13 Thread Eric Blake
On Mon, Sep 13, 2021 at 02:39:22PM +0200, Markus Armbruster wrote: > The test_visitor_in_list_union_FOO() use simple union UserDefListUnion > to cover lists of builtin types. Rewrite as > test_visitor_in_list_struct(), using struct ArrayStruct and a lot less > code. > > test_visitor_in_fail_union

[PATCH 12/22] test-qobject-input-visitor: Wean off UserDefListUnion

2021-09-13 Thread Markus Armbruster
The test_visitor_in_list_union_FOO() use simple union UserDefListUnion to cover lists of builtin types. Rewrite as test_visitor_in_list_struct(), using struct ArrayStruct and a lot less code. test_visitor_in_fail_union_list() uses UserDefListUnion to cover "variant members don't match the discrim