summaryrefslogtreecommitdiffstats
path: root/python_modules/marshal.py
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-06-22 16:01:57 +0200
committerAlexander Larsson <alexl@redhat.com>2010-06-22 16:01:57 +0200
commitc621b2bdf14bbc596ec90e917a2c40fa8dc8a4e8 (patch)
tree30129ccdba3b97bc5715b89f14629f6947dea6d3 /python_modules/marshal.py
parent36fd22a9db6edee0cc1700eeeab36a9f084a31d8 (diff)
downloadspice-c621b2bdf14bbc596ec90e917a2c40fa8dc8a4e8.tar.gz
spice-c621b2bdf14bbc596ec90e917a2c40fa8dc8a4e8.tar.xz
spice-c621b2bdf14bbc596ec90e917a2c40fa8dc8a4e8.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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python_modules/marshal.py b/python_modules/marshal.py
index 4279cf0d..76081a99 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()