def _write_rte_start(self, fp):
      func = C.function(self.prefix+'_Start', 'void')
      body = C.block(innerIndent=innerIndentDefault)
      self._write_init_values(body)
      if len(self.extra_rte_start)>0:
         body.extend(self.extra_rte_start)
      fp.write(str(func)+'\n')
      fp.write('\n'.join(body.lines())+'\n\n')