qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Introduce short names for fixed width integer t


From: malc
Subject: Re: [Qemu-devel] [PATCH] Introduce short names for fixed width integer types
Date: Tue, 9 Aug 2011 14:18:20 +0400 (MSD)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)

On Mon, 8 Aug 2011, Peter Maydell wrote:

> On 8 August 2011 13:56, Avi Kivity <address@hidden> 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/...
> 

Seconded.

-- 
mailto:address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]