[Top][All Lists]

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

Re: [Qemu-devel] [PATCH RFC 4/5] include: Move typedef qemu_irq to qemu/

From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH RFC 4/5] include: Move typedef qemu_irq to qemu/typedefs.h
Date: Fri, 24 Jun 2016 13:45:08 +0100

On 24 June 2016 at 13:32, Markus Armbruster <address@hidden> wrote:
> Peter Maydell <address@hidden> writes:
>> It would still be different by being a pointer-to-Foo, not a Foo.
> Hiding pointer-ness behind a typedef is a bad idea more often than not.
> What do you want me to do, if anything?

I think my underlying issue is that the purpose of typedefs.h
(as I see it) is to define some typedefs for handing around
pointers to opaque objects, but we don't pass around pointers
to qemu_irqs, we pass around actual qemu_irqs. So I don't
really feel like it belongs in this header.

-- PMM

reply via email to

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