From: Ian Jackson Subject: Re: [PATCH 01/15] libxc: xc_domain_restore, make toolstack_restore const-correct Date: Thu, 31 May 2012 10:55:59 +0100 Message-ID: <20423.16431.321849.778723@mariner.uk.xensource.com> References: <1338394606-22693-1-git-send-email-ian.jackson@eu.citrix.com> <1338394606-22693-2-git-send-email-ian.jackson@eu.citrix.com> <1338398761.14877.17.camel@dagon.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1338398761.14877.17.camel@dagon.hellion.org.uk> 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.xen.org" List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [PATCH 01/15] libxc: xc_domain_restore, make toolstack_restore const-correct"): > On Wed, 2012-05-30 at 17:16 +0100, Ian Jackson wrote: > > Also provide typedefs for the nontrivial function callback types. > > Are there any other uses of these type other than the one of each > inlined in the structs? There is one, later in my patch series, in libxl. > If not then I'm not sure this makes things clearer -- you now have to > look at both the callback struct and then go find the corresponding > typedef. I'm not particularly bothered about this and could write the type out again in its other location in libxl_internal.h. The compiler will check it after all. Let me know what you think best. Ian.