mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-01-11 08:07:23 +00:00
Fix build error due to member "SpiceMsgEmpty" same name as type
This commit is contained in:
parent
49aeb85dc1
commit
a45758117b
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user