summaryrefslogtreecommitdiffstats
path: root/python_modules/marshal.py
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-06-22 16:01:57 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:44 +0100
commitbcc5cc0d9162c8193d175ad5c45fe6d52721cc52 (patch)
tree53b18e486c83a51db2cadc67f1345e44a5cabbaf /python_modules/marshal.py
parent0349d2249dbbd8cc0da344709ce7dd4e638db4ab (diff)
downloadspice-common-bcc5cc0d9162c8193d175ad5c45fe6d52721cc52.tar.gz
spice-common-bcc5cc0d9162c8193d175ad5c45fe6d52721cc52.tar.xz
spice-common-bcc5cc0d9162c8193d175ad5c45fe6d52721cc52.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 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()