diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-06-22 16:01:57 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-20 15:25:44 +0100 |
commit | 2523cec8c4890f977ee5569d9280d54108790674 (patch) | |
tree | 67a7e83a8dc2cc44a29bee58c31d533d5739c386 /python_modules/marshal.py | |
parent | 38412df9aaac82865f7251ee67623fe48d034940 (diff) | |
download | spice-protocol-2523cec8c4890f977ee5569d9280d54108790674.tar.gz spice-protocol-2523cec8c4890f977ee5569d9280d54108790674.tar.xz spice-protocol-2523cec8c4890f977ee5569d9280d54108790674.zip |
Support extra prefix in code generators
This is require when we add a new spice.proto for the old (major 1)
protocol description.
Diffstat (limited to 'python_modules/marshal.py')
-rw-r--r-- | python_modules/marshal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python_modules/marshal.py b/python_modules/marshal.py index 4279cf0..76081a9 100644 --- a/python_modules/marshal.py +++ b/python_modules/marshal.py @@ -360,7 +360,7 @@ def write_protocol_marshaller(writer, proto, is_server, private_marshallers): functions[f] = True if private_marshallers: - scope = writer.function("spice_message_marshallers_get", + scope = writer.function("spice_message_marshallers_get" + writer.public_prefix, "SpiceMessageMarshallers *", "void") writer.writeln("static SpiceMessageMarshallers marshallers = {NULL};").newline() |