qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Enum String Generator


From: John Snow
Subject: [Qemu-devel] Enum String Generator
Date: Fri, 13 Feb 2015 19:33:22 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Just a stupid question: We don't have a macro facility in the current codebase that generates both an enum and string table / lookup function simultaneously, do we?

Some things really do just wind up looking grossly inelegant in C, and this is one of them.

--js



reply via email to

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