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 | bcc5cc0d9162c8193d175ad5c45fe6d52721cc52 (patch) | |
tree | 53b18e486c83a51db2cadc67f1345e44a5cabbaf /python_modules/marshal.py | |
parent | 0349d2249dbbd8cc0da344709ce7dd4e638db4ab (diff) | |
download | spice-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.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() |