This website requires JavaScript.
Explore
Help
Register
Sign In
ShuriZma
/
xemu
mirror of
https://github.com/xemu-project/xemu.git
Watch
1
Star
0
Fork
You've already forked xemu
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
899833cd65
xemu
/
tests
/
qapi-schema
/
args-name-clash.exit
2 lines
2 B
Plaintext
Raw
Normal View
History
Unescape
Escape
qapi: Detect collisions in C member names Detect attempts to declare two object members that would result in the same C member name, by keying the 'seen' dictionary off of the C name rather than the qapi name. It also requires passing info through the check_clash() methods. This addresses a TODO and fixes the previously-broken args-name-clash test. The resulting error message demonstrates the utility of the .describe() method added previously. No change to generated code. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1447836791-369-17-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
2015-11-18 08:52:51 +00:00
1