mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-01 09:27:39 +00:00
Merge remote-tracking branch 'luiz/queue/qmp' into staging
# By Cole Robinson # Via Luiz Capitulino * luiz/queue/qmp: qapi-types.py: Fix enum struct sizes on i686 Message-id: 1378822364-13887-1-git-send-email-lcapitulino@redhat.com Signed-off-by: Anthony Liguori <anthony@codemonkey.ws>
This commit is contained in:
commit
6f52e51bb7
@ -51,7 +51,10 @@ def generate_fwd_enum_struct(name, members):
|
|||||||
return mcgen('''
|
return mcgen('''
|
||||||
typedef struct %(name)sList
|
typedef struct %(name)sList
|
||||||
{
|
{
|
||||||
%(name)s value;
|
union {
|
||||||
|
%(name)s value;
|
||||||
|
uint64_t padding;
|
||||||
|
};
|
||||||
struct %(name)sList *next;
|
struct %(name)sList *next;
|
||||||
} %(name)sList;
|
} %(name)sList;
|
||||||
''',
|
''',
|
||||||
|
Loading…
Reference in New Issue
Block a user