|
| From: | Paul Brook |
| Subject: | Re: [Qemu-devel] [PATCH 3/3 v2] Add a pc-0-10 machine type for compatibility with 0.10.x |
| Date: | Thu, 9 Jul 2009 17:09:16 +0100 |
| User-agent: | KMail/1.11.4 (Linux/2.6.29-2-amd64; KDE/4.2.4; x86_64; ; ) |
> It came out looking pretty good. The literal syntax is new to me:
>
> + .compat_props = (CompatProperty[]) {
> + {
>
> I assume this is a GCC-ism?
Compound literals ("(Foo[]){...}") are a standard C99 feature, as are
designated initializers (".foo = ...")
Paul
| [Prev in Thread] | Current Thread | [Next in Thread] |