mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-08 22:35:35 +00:00
9b10264eea
We commonly initialize attributes to None in .init(), then set their real value in .check(). Accessing the attribute before .check() yields None. If we're lucky, the code that accesses the attribute prematurely chokes on None. It won't for .ifcond, because None is a legitimate value. Leave the ifcond attribute undefined until check(). Backports commit 4fca21c1b043cb1ef2e197ef15e7474ba668d925 from qemu |
||
---|---|---|
.. | ||
qapi | ||
create_config | ||
decodetree.py | ||
make_device_config.sh | ||
ordereddict.py | ||
qapi-gen.py |