From: Ian Campbell Subject: Re: [PATCH V5 25/32] libxl IDL: generate deep copy functions Date: Tue, 20 May 2014 14:42:44 +0100 Message-ID: <1400593364.6946.57.camel@kazak.uk.xensource.com> References: <1400018054-26038-1-git-send-email-wei.liu2@citrix.com> <1400018054-26038-26-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1400018054-26038-26-git-send-email-wei.liu2@citrix.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: Wei Liu Cc: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, 2014-05-13 at 22:54 +0100, Wei Liu wrote: > Introduces copy_fn for a type. > > For most builtin types we can use direct assignment. For those builtin > types which cannot use direct assignment we use the copy functions in > previous patch. > > Signed-off-by: Wei Liu Acked-by: Ian Campbell I did briefly wonder if libxl_string_copy was really necessary as part of the API (as oppposed to an internal function). But in the end I decided it didn't really matter. Ian.