diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-06-28 12:45:07 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-20 15:25:45 +0100 |
commit | a45758117b1e384e64419089f4ce07acd08abb7e (patch) | |
tree | 2076655279976aa89d9f79aff25b2c6be16464bb /python_modules/marshal.py | |
parent | 49aeb85dc1b74c56084aa633be66a1dbf02a95e6 (diff) | |
download | spice-common-a45758117b1e384e64419089f4ce07acd08abb7e.tar.gz spice-common-a45758117b1e384e64419089f4ce07acd08abb7e.tar.xz spice-common-a45758117b1e384e64419089f4ce07acd08abb7e.zip |
Fix build error due to member "SpiceMsgEmpty" same name as type
Diffstat (limited to 'python_modules/marshal.py')
-rw-r--r-- | python_modules/marshal.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python_modules/marshal.py b/python_modules/marshal.py index ef1a47c..1eb3675 100644 --- a/python_modules/marshal.py +++ b/python_modules/marshal.py @@ -369,6 +369,8 @@ def write_protocol_marshaller(writer, proto, is_server, private_marshallers): writer.writeln("static SpiceMessageMarshallers marshallers = {NULL};").newline() for f in sorted(functions.keys()): member = f[len("spice_marshall_"):] + if not member.startswith("msg"): + member = "msg_" + member writer.assign("marshallers.%s" % member, f) writer.newline() |