Code & Deploy
siGit Code
Git Hosting
Toggle menu
Code
Code Review
Models
Repos
Sign in
Sign in
@samitouri
/
QOSamiQemu
QOSamiQemu
/
tests
/
qapi-schema
/
struct-member-name-clash.json
Code
Commits
Issues
Pulls
Sessions
CI/CD
master
master
json
5 lines
230 Bytes
Copy permalink
Copy
Raw
1
#
C
member
name
collision
2
#
Reject
members
that
clash
when
mapped
to
C
names
(we
would
have
two
'a_b'
3
#
members).
4
{
'pragma':
{
'member-name-exceptions':
[
'Oops'
]
}
}
5
{
'struct':
'Oops'
,
'data':
{
'a-b':
'str'
,
'a_b':
'str'
}
}