diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-06-22 16:01:57 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-06-22 16:01:57 +0200 |
commit | c621b2bdf14bbc596ec90e917a2c40fa8dc8a4e8 (patch) | |
tree | 30129ccdba3b97bc5715b89f14629f6947dea6d3 /python_modules/codegen.py | |
parent | 36fd22a9db6edee0cc1700eeeab36a9f084a31d8 (diff) | |
download | spice-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/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 5bb659ac..af6636b0 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; |