Home
last modified time | relevance | path

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

/nanopb-2.7.6/generator/
Dnanopb_generator.py676 def get_initializer(self, null_init, inner_init_only = False): member in Field
1070 def get_initializer(self, null_init): member in OneOf
1072 return '{{NULL}, NULL}, 0, {' + self.fields[0].get_initializer(null_init) + '}'
1074 return '0, {' + self.fields[0].get_initializer(null_init) + '}'
1259 def get_initializer(self, null_init): member in Message
1265 parts.append(field.get_initializer(null_init))
1772 yield '#define %-40s %s\n' % (identifier, msg.get_initializer(False))
1775 yield '#define %-40s %s\n' % (identifier, msg.get_initializer(True))