diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2014-01-03 11:17:39 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2014-01-03 11:17:39 +0200 |
commit | a46ed9f47523712861741c4bb1c42382933467be (patch) | |
tree | 6df1e0d87742e5a65ceaffc318e580cb8abb54f0 | |
parent | 843fc4b11a5dde584143d4a18deb41556b80daa7 (diff) |
Fix problem with callback-type fields (issue #99).
-rwxr-xr-x | generator/nanopb_generator.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generator/nanopb_generator.py b/generator/nanopb_generator.py index dea9098b..094f8e85 100755 --- a/generator/nanopb_generator.py +++ b/generator/nanopb_generator.py @@ -169,6 +169,7 @@ class Field: self.max_count = None self.array_decl = "" self.enc_size = None + self.ctype = None # Parse field options if field_options.HasField("max_size"): |