Home
last modified time | relevance | path

Searched refs:null_init (Results 1 – 1 of 1) sorted by relevance

/nanopb-3.4.0/generator/
Dnanopb_generator.py768 def get_initializer(self, null_init, inner_init_only = False): argument
776 if null_init:
780 elif self.default is None or null_init:
838 if null_init or not self.default_has:
1170 def get_initializer(self, null_init): argument
1172 return '{{NULL}, NULL}, 0, {' + self.fields[0].get_initializer(null_init) + '}'
1174 return '0, {' + self.fields[0].get_initializer(null_init) + '}'
1355 def get_initializer(self, null_init): argument
1361 parts.append(field.get_initializer(null_init))