Home
last modified time | relevance | path

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

/nanopb-3.4.0/generator/
Dnanopb_generator.py142 def var_name(self, name): member in NamingStyle
167 def var_name(self, name): member in NamingStyleC
708 var_name = Globals.naming_style.var_name(self.name)
714 result += ' pb_callback_t cb_' + var_name + ';\n'
715 result += ' pb_size_t ' + var_name + '_count;\n'
719 result += ' %s* (*%s)%s;' % (type_name, var_name, self.array_decl)
722 result += ' %s (*%s)%s;' % (type_name, var_name, self.array_decl)
725 result += ' %s **%s;' % (type_name, var_name)
728 … result += ' struct %s *%s;' % (Globals.naming_style.struct_name(self.ctype), var_name)
731 result += ' %s *%s;' % (type_name, var_name)
[all …]