mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 01:35:30 +00:00
b55309fab2
Accept 'if' key in top-level elements, accepted as string or list of string type. The following patches will modify the test visitor to check the value is correctly saved, and generate #if/#endif code (as a single #if/endif line or a series for a list). Example of 'if' key: { 'struct': 'TestIfStruct', 'data': { 'foo': 'int' }, 'if': 'defined(TEST_IF_STRUCT)' } The generated code is for now *unconditional*. Later patches generate the conditionals. Backports commit 967c885108f18e5065744719f7959ba5ea0a5b0d from qemu |
||
---|---|---|
.. | ||
qapi | ||
create_config | ||
decodetree.py | ||
make_device_config.sh | ||
ordereddict.py | ||
qapi-gen.py |