qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 04/11] Add json->qobject parser


From: Luiz Capitulino
Subject: Re: [Qemu-devel] [PATCH 04/11] Add json->qobject parser
Date: Fri, 23 Oct 2009 15:45:38 -0200

On Sat, 17 Oct 2009 08:36:04 -0500
Anthony Liguori <address@hidden> wrote:

> +QObject *qobject_from_json(const char *string, size_t *length);
> +QObject *qobject_from_jsonf(const char *string, size_t *length, ...)
> +    __attribute__((__format__ (__printf__, 1, 3)));

 We need a wrapper for command handlers usage, they won't use 'length' and
I think we can abort() on error if the only possibility of failing is a
wrong syntax.




reply via email to

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