qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 01/10] qapi: qapi-types.py, native list support


From: Amos Kong
Subject: Re: [Qemu-devel] [PATCH 01/10] qapi: qapi-types.py, native list support
Date: Fri, 10 May 2013 11:04:22 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, May 09, 2013 at 09:20:53PM -0500, Michael Roth wrote:
> Teach type generators about native types so they can generate the
> appropriate linked list types.
> 
> Signed-off-by: Michael Roth <address@hidden>
> ---
>  scripts/qapi-types.py |   43 ++++++++++++++++++++++++++++++++++++++++---
>  scripts/qapi.py       |   21 +++++++++++++++++++++
>  2 files changed, 61 insertions(+), 3 deletions(-)
> 
> diff --git a/scripts/qapi-types.py b/scripts/qapi-types.py
> index 9e19920..96cb26d 100644
> --- a/scripts/qapi-types.py
> +++ b/scripts/qapi-types.py
> @@ -16,7 +16,18 @@ import os
>  import getopt
>  import errno

<snip>

> diff --git a/scripts/qapi.py b/scripts/qapi.py
> index afc5f32..0ac8c2b 100644
> --- a/scripts/qapi.py
> +++ b/scripts/qapi.py
> @@ -11,6 +11,10 @@
>  
>  from ordereddict import OrderedDict
>  
> +builtin_types = [
> +    'str', 'int', 'number', 'bool'

Will we add size, int8, uint32, ... in future when they are needed?

> +]
> +

-- 
                        Amos.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]