[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 2/3] qapi: add const prefix to 'char *' insid
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v4 2/3] qapi: add const prefix to 'char *' insider c_type() |
Date: |
Mon, 12 May 2014 20:59:51 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
On 05/07/2014 07:14 PM, Amos Kong wrote:
> It's ugly to add const prefix for parameter type by a if statement
s/a if/an if/
> outsider c_type(). This patch adds a parameter to do it.
s/outsider/outside/
>
> Signed-off-by: Amos Kong <address@hidden>
> Suggested-by: Markus Armbruster <address@hidden>
> ---
> scripts/qapi-commands.py | 4 +---
> scripts/qapi.py | 4 +++-
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v4 0/3] qapi: fix coding style in generated code, Amos Kong, 2014/05/07
- [Qemu-devel] [PATCH v4 2/3] qapi: add const prefix to 'char *' insider c_type(), Amos Kong, 2014/05/07
- Re: [Qemu-devel] [PATCH v4 2/3] qapi: add const prefix to 'char *' insider c_type(),
Eric Blake <=
- [Qemu-devel] [PATCH v4 3/3] qapi: Suppress unwanted space between type and identifier, Amos Kong, 2014/05/07
- [Qemu-devel] [PATCH v4 1/3] qapi: fix coding style in parameters list, Amos Kong, 2014/05/07
- Re: [Qemu-devel] [PATCH v4 0/3] qapi: fix coding style in generated code, Luiz Capitulino, 2014/05/15
- Re: [Qemu-devel] [PATCH v4 0/3] qapi: fix coding style in generated code, Luiz Capitulino, 2014/05/16