[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [patch] add byteordered types
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [patch] add byteordered types |
Date: |
Wed, 27 Aug 2008 16:35:49 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080723) |
Paul Brook wrote:
> On Wednesday 27 August 2008, Gerd Hoffmann wrote:
>> +static inline le16 write_le16(uint16_t cpu) \
>
> This is IMHO a bad name for this function. It doesn't write anything.
I'm not that happy the name too and certainly open for better
suggestions I could use instead of read/write.
The alternatives I can think of are not very nice either:
(1) get/set -- same problem as read/write.
(2) make_foo() instead of write_foo() -- "make" is too generic IMHO.
(3) create_foo() instead of write_foo() -- no nice symmetric
replacement for read_foo().
better ideas anyone?
cheers,
Gerd
- [Qemu-devel] [patch] add byteordered types, Gerd Hoffmann, 2008/08/27
- Re: [Qemu-devel] [patch] add byteordered types, Paul Brook, 2008/08/27
- Re: [Qemu-devel] [patch] add byteordered types,
Gerd Hoffmann <=
- Re: [Qemu-devel] [patch] add byteordered types, M. Warner Losh, 2008/08/27
- Re: [Qemu-devel] [patch] add byteordered types, Gerd Hoffmann, 2008/08/27
- Re: [Qemu-devel] [patch] add byteordered types, Anthony Liguori, 2008/08/27
- Re: [Qemu-devel] [patch] add byteordered types, Gerd Hoffmann, 2008/08/27
- Re: [Qemu-devel] [patch] add byteordered types, Anthony Liguori, 2008/08/27
- Re: [Qemu-devel] [patch] add byteordered types, Gerd Hoffmann, 2008/08/28
- Re: [Qemu-devel] [patch] add byteordered types, Jamie Lokier, 2008/08/27