From: Petteri Aimonen Date: Fri, 3 Jan 2014 09:17:39 +0000 (+0200) Subject: Fix problem with callback-type fields (issue #99). X-Git-Tag: 3.99.1~14^2~270 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=a46ed9f47523712861741c4bb1c42382933467be;p=apps%2Flow-level-can-service.git Fix problem with callback-type fields (issue #99). --- diff --git a/generator/nanopb_generator.py b/generator/nanopb_generator.py index dea9098..094f8e8 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"):