Home
last modified time | relevance | path

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

/nanopb-3.4.0/generator/
Dnanopb_generator.py268 def __init__(self, value = 0, symbols = [], declarations = [], required_defines = []): argument
273 self.required_defines = value.required_defines
278 self.required_defines = [str(value)]
283 self.required_defines = required_defines
287 … return EncodedSize(self.value + other, self.symbols, self.declarations, self.required_defines)
289 …ze(self.value, self.symbols + [str(other)], self.declarations, self.required_defines + [str(other)…
292 … self.declarations + other.declarations, self.required_defines + other.required_defines)
299 self.declarations, self.required_defines)
310 …EncodedSize(%s, %s, %s, %s)' % (self.value, self.symbols, self.declarations, self.required_defines)
319 needed = [x for x in self.required_defines if x not in local_defines]
[all …]