Ejemplo n.º 1
0
 def run_enumer(self):
     e = enumer.enumer_t(self.type_name, self.prefix, self.tuples, 
                         self.cfn, self.hfn,
                         self.gendir,
                         self.namespace,
                         self.stream_ifdef,
                         cplusplus = self.cplusplus,
                         proto_prefix = self.proto_prefix,
                         extra_header=self.extra_header,
                         density=self.density)
     e.emit()
     self.src_full_file_name = e.cf.full_file_name
     self.hdr_full_file_name = e.hf.full_file_name
Ejemplo n.º 2
0
 def run_enumer(self):  # public
     """Emit the enumeration"""
     if self.tuples == None:
         self.prepare_lines()
     e = enumer.enumer_t(self.type_name,
                         self.prefix,
                         self.tuples,
                         self.cfn,
                         self.hfn,
                         self.gendir,
                         self.namespace,
                         self.stream_ifdef,
                         cplusplus=self.cplusplus,
                         proto_prefix=self.proto_prefix,
                         extra_header=self.extra_header,
                         density=self.density,
                         string_convert=self.string_convert)
     e.emit()
     self.hdr_full_file_name = e.hf.full_file_name
     self.src_full_file_name = e.cf.full_file_name