historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/tests/qapi-schema/reserved-member-u.json

8 lines
439 B
JSON
Raw Normal View History

2024-01-16 11:20:27 -06:00
# Potential C member name collision
# We reject use of 'u' as a member name, to allow it for internal use in
# putting union branch members in a separate namespace from QMP members.
# This is true even for non-unions, because it is possible to convert a
# struct to flat union while remaining backwards compatible in QMP.
# TODO - we could munge the member name to 'q_u' to avoid the collision
{ 'struct': 'Oops', 'data': { 'u': 'str' } }