From: Ian Jackson Subject: Re: [PATCH V3] libxl, Introduce a QMP client Date: Tue, 21 Jun 2011 16:03:23 +0100 Message-ID: <19968.45755.172986.403931@mariner.uk.xensource.com> References: <1308071754-29014-1-git-send-email-anthony.perard@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1308071754-29014-1-git-send-email-anthony.perard@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: anthony.perard@citrix.com Cc: Ian Campbell , Xen Devel , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org anthony.perard@citrix.com writes ("[Xen-devel] [PATCH V3] libxl, Introduce a QMP client"): > +#ifdef DEBUG_ANSWER > + yajl_gen_bool(qmp->g, boolean); > +#endif Can we not have some kind of macro setup to avoid the #ifdefs ? DEBUG_GEN(bool, boolean) or something. Ian.