def _generate_header(self, dest_dir):
      file_name = self.prefix+'.h'
      file_path = os.path.join(dest_dir,file_name)
      with io.open(file_path, 'w', newline='\n') as fp:
         print("#ifndef RTE_TASK_H", file=fp)
         print("#define RTE_TASK_H", file=fp)
         self._write_header_includes(fp)
         self._write_header_constants_and_typedefs(fp)
         self._write_header_global_var(fp)
         self._write_header_global_proto(fp)
         print("#endif //RTE_TASK_H", file=fp)