diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-21 01:43:29 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-21 13:24:16 +0100 |
commit | 2d4e0d20003dce8399ad89663d6353778b6c917f (patch) | |
tree | f44c19aa3c27daed3537e9b9d7cc4bf777819bd4 /spice_codegen.py | |
parent | 3df7798413bd554d97f1351c1dba16961f32c6fe (diff) |
codegen: struct marshallers are not current function helper
This solves the issue of struct_marshallers being included within the
current ifdef/endif body, although they are independant functions.
Diffstat (limited to 'spice_codegen.py')
-rwxr-xr-x | spice_codegen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spice_codegen.py b/spice_codegen.py index a9fdee9..759b09d 100755 --- a/spice_codegen.py +++ b/spice_codegen.py @@ -188,7 +188,7 @@ if options.generate_marshallers: if options.struct_marshallers: for structname in options.struct_marshallers: t = ptypes.lookup_type(structname) - marshal.write_marshal_ptr_function(writer, t) + marshal.write_marshal_ptr_function(writer, t, False) if options.generate_marshallers or (options.struct_marshallers and len(options.struct_marshallers) > 0): marshal.write_trailer(writer) |