Home
last modified time | relevance | path

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

/nanopb-3.4.0/tests/namingstyle/
DSConscript8 env.NanopbProto(["naming_style", "naming_style.options"])
10 test = env.Program(["test_naming_style_c.c", "naming_style.pb.c", "$COMMON/pb_decode.o", "$COMMON/p…
/nanopb-3.4.0/generator/
Dnanopb_generator.py192 naming_style = NamingStyle() variable in Globals
434 result += 'typedef enum %s {' % Globals.naming_style.enum_name(self.names)
453 enum_value = " %s = %d%s" % (Globals.naming_style.enum_entry(name), value, comma)
465 result += ' %s;' % Globals.naming_style.type_name(self.names)
472 Globals.naming_style.define_name('_%s_MIN' % self.names),
473 Globals.naming_style.enum_entry(sorted_values[0][0]))
475 Globals.naming_style.define_name('_%s_MAX' % self.names),
476 Globals.naming_style.enum_entry(sorted_values[-1][0]))
478 Globals.naming_style.define_name('_%s_ARRAYSIZE' % self.names),
479 Globals.naming_style.type_name(self.names),
[all …]