qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 2/2] Introduce macro for defining qdev propertie


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 2/2] Introduce macro for defining qdev properties
Date: Sat, 18 Jul 2009 11:13:12 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Jamie Lokier wrote:
In (hopefully) ANSI-portable C code which performs a very similar
function, I got it down to OPTION_SIGNED("name", var),
OPTION_UNSIGNED("name", var), OPTION_BOOL("name", var),
OPTION_STRING("name", var), for the major non-compound types.
How do you detect the size of the integer?

Regards,

Anthony Liguori




reply via email to

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