qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 04/14] qapi: Factor out JSON number formattin


From: Fam Zheng
Subject: Re: [Qemu-devel] [PATCH v2 04/14] qapi: Factor out JSON number formatting
Date: Wed, 23 Dec 2015 15:32:01 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, 12/21 17:30, Eric Blake wrote:
> Pull out a new qstring_append_json_number() helper, so that all
> JSON output producers can use a consistent style for printing
> floating point without duplicating code (since we are doing more
> data massaging than a simple printf format can handle).
> 
> Address one FIXME by adding an Error parameter and warning the
> caller if the requested number cannot be represented in JSON;
> but add another FIXME in its place because we have no way to
> report the problem higher up the stack.
> 
> Signed-off-by: Eric Blake <address@hidden>

Reviewed-by: Fam Zheng <address@hidden>



reply via email to

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