From: Juan Quintela Subject: Re: [PATCH] Introduce short names for fixed width integer types Date: Tue, 09 Aug 2011 14:39:55 +0200 Message-ID: References: <1312808190-31074-1-git-send-email-avi@redhat.com> Reply-To: quintela@redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , qemu-devel@nongnu.org, kvm@vger.kernel.org To: Peter Maydell Return-path: Received: from mx1.redhat.com ([209.132.183.28]:64192 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753180Ab1HIMkJ (ORCPT ); Tue, 9 Aug 2011 08:40:09 -0400 In-Reply-To: (Peter Maydell's message of "Mon, 8 Aug 2011 14:19:08 +0100") Sender: kvm-owner@vger.kernel.org List-ID: Peter Maydell wrote: > On 8 August 2011 13:56, Avi Kivity wrote: >> QEMU deals with a lot of fixed width integer types; their names >> (uint64_t etc) are clumsy to use and take up a lot of space. >> >> Following Linux, introduce shorter names, for example U64 for >> uint64_t. > > Strongly disagree. uint64_t &c are standard types and it's > immediately clear to a competent C programmer what they are. > Random qemu-specific funny named types just introduces an > unnecessary level of indirection. > > We only just recently managed to get rid of the nonstandard > typenames for these from fpu/... Agreed. And if we want to change them to be "linux-like", can we just use the linux names? Using a name with uppercase just looks doubly wrong on my eyes. Later, Juan.