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/codegen.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/codegen.py')
-rw-r--r-- | python_modules/codegen.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python_modules/codegen.py b/python_modules/codegen.py index 5bb659a..af6636b 100644 --- a/python_modules/codegen.py +++ b/python_modules/codegen.py @@ -113,6 +113,7 @@ class CodeWriter: writer.at_line_start = self.at_line_start writer.generated = self.generated writer.options = self.options + writer.public_prefix = self.public_prefix return writer; |