Re: [Qemu-devel] [PATCH v4 12/28] qapi: Add new visit_complete() function

2016-06-01 Thread Markus Armbruster
Eric Blake writes: > Making each output visitor provide its own output collection > function was the only remaining reason for exposing visitor > sub-types to the rest of the code base. Add a polymorphic > visit_complete() function which is a no-op for input visitors, > and which populates an op

[Qemu-devel] [PATCH v4 12/28] qapi: Add new visit_complete() function

2016-05-18 Thread Eric Blake
Making each output visitor provide its own output collection function was the only remaining reason for exposing visitor sub-types to the rest of the code base. Add a polymorphic visit_complete() function which is a no-op for input visitors, and which populates an opaque pointer for output visitor