On 03/13/2013 04:52 PM, mdroth wrote:
On Wed, Mar 13, 2013 at 01:56:24PM -0500, Joel Schopp wrote:
Add a sized buffer interface to qapi.
Isn't this just a special case of the visit_*_carray() interfaces? We
should avoid new interfaces if possible, since it adds to feature
disparities between visitor implementations.

Yes, it's a special case and carray seems more general.
However, I don't understand the interface of carray. It has a start_carray with all parameters given, then a next_carray and an end_carray. Why do we need multiple calls if one call (start_carray) could be used to serialize all the data already?

Regards,
    Stefan




Reply via email to