mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-10-25 23:37:23 +00:00
Wrap generated code with #if/#endif using an 'ifcontext' on QAPIGenCSnippet objects. This makes a conditional event's qapi_event_send_FOO() compile-time conditional, but its enum QAPIEvent member remains unconditional for now. A follow up patch "qapi-event: add 'if' condition to implicit event enum" will improve this. Backports commit c3cd6aa0201c126eda8dc71b60e7aa259a3e79b9 from qemu |
||
|---|---|---|
| .. | ||
| qapi | ||
| create_config | ||
| decodetree.py | ||
| make_device_config.sh | ||
| ordereddict.py | ||
| qapi-gen.py | ||