From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH 33/34] tools/libxl: libxl__json_object_to_yajl_gen should return yajl_gen_status Date: Thu, 27 Mar 2014 12:37:10 +0000 Message-ID: <53341B76.7010206@linaro.org> References: <1395766541-23979-1-git-send-email-julien.grall@linaro.org> <1395766541-23979-34-git-send-email-julien.grall@linaro.org> <1395768491.22808.6.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WT9YY-0000xj-0K for xen-devel@lists.xenproject.org; Thu, 27 Mar 2014 12:37:14 +0000 Received: by mail-ee0-f49.google.com with SMTP id c41so2813996eek.8 for ; Thu, 27 Mar 2014 05:37:12 -0700 (PDT) In-Reply-To: <1395768491.22808.6.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xenproject.org, tim@xen.org, Ian Jackson , stefano.stabellini@citrix.com, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Hi Ian, On 03/25/2014 05:28 PM, Ian Campbell wrote: > On Tue, 2014-03-25 at 16:55 +0000, Julien Grall wrote: >> All the functions in lixbl__json_object_to_yajl_gen returns an yajl_gen_status >> enum. >> >> Also replace yal_gen_status_ok by yalj_gen_status_ok. > > Does this work with both yajl1 and yajl2? We are trying to support both. I checked yajl 1.0.12 API, as yajl2 every yajl_gen_* functions return an yajl_gen_status. Every other functions in libxl_json.c was correctly using yajl_gen_status. Regards, -- Julien Grall