mirror of https://github.com/xemu-project/xemu.git
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('''
|
||||
typedef struct %(name)sList
|
||||
{
|
||||
%(name)s value;
|
||||
union {
|
||||
%(name)s value;
|
||||
uint64_t padding;
|
||||
};
|
||||
struct %(name)sList *next;
|
||||
} %(name)sList;
|
||||
''',
|
||||
|
|
Loading…
Reference in New Issue