On 04/25/2014 01:56 AM, Amos Kong wrote: > Currently we always add a space after c_type in mcgen(), there is > some redundant space in generated code. The space isn't needed for > points by the coding style.
s/points/pointers/ > > char * value; > ^ > qapi_free_NameInfo(NameInfo * obj) > ^ > > This patch added a special string 'EATSPACE' in the end of c_type()'s Present tense for what a patch does: s/added/adds/ > result only for point type. The string and the following space will be s/point type/pointer types/ > striped in mcgen(). s/striped/stripped/ > > Signed-off-by: Amos Kong <ak...@redhat.com> > --- > scripts/qapi-commands.py | 2 +- > scripts/qapi.py | 11 ++++++----- > 2 files changed, 7 insertions(+), 6 deletions(-) > Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature