From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:32784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScRJ0-000228-46 for qemu-devel@nongnu.org; Wed, 06 Jun 2012 21:14:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ScRIy-00067H-9L for qemu-devel@nongnu.org; Wed, 06 Jun 2012 21:14:29 -0400 Date: Thu, 7 Jun 2012 09:45:11 +1000 From: David Gibson Message-ID: <20120606234511.GD6614@truffala.fritz.box> References: <1338940402-28502-1-git-send-email-agraf@suse.de> <1338940402-28502-3-git-send-email-agraf@suse.de> <1338958867.15420.4.camel@PetaLogix-ws2> <4FCF7D7E.8050907@suse.de> <4FCFD139.5040504@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FCFD139.5040504@freescale.com> Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 02/31] dt: add helpers for 2, 3 and 4 cell adds List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Scott Wood Cc: Peter Crosthwaite , qemu-ppc Mailing List , Alexander Graf , "qemu-devel@nongnu.org Developers" [snip] > > You mean internally? Yeah, probably. Externally? The point of these > > helpers is to make the code look less cluttered. We can already pass in > > an array just fine, but C is quite annoying about generating those on > > the fly, while it's easy to pass in ints as parameters :) > > Varargs? Ugly and risky with standard C varargs (because an explicit length would be needed). Could be done neatly with gcc macro varargs. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson