]>
git.proxmox.com Git - mirror_qemu.git/blob - qemu-options-wrapper.h
202f5af9b4b8e8cda60634a0d4f01d8a831e85a9
2 #if defined(QEMU_OPTIONS_GENERATE_ENUM)
4 #define DEF(option, opt_arg, opt_enum, opt_help, arch_mask) \
6 #define DEFHEADING(text)
8 #elif defined(QEMU_OPTIONS_GENERATE_HELP)
10 #define DEF(option, opt_arg, opt_enum, opt_help, arch_mask) \
12 #define DEFHEADING(text) stringify(text) "\n"
14 #elif defined(QEMU_OPTIONS_GENERATE_OPTIONS)
16 #define DEF(option, opt_arg, opt_enum, opt_help, arch_mask) \
17 { option, opt_arg, opt_enum, arch_mask },
18 #define DEFHEADING(text)
21 #error "qemu-options-wrapper.h included with no option defined"
24 #include "qemu-options.def"
30 #undef QEMU_OPTIONS_GENERATE_ENUM
31 #undef QEMU_OPTIONS_GENERATE_HELP
32 #undef QEMU_OPTIONS_GENERATE_OPTIONS