def generate_prototypes_from_files(files):
 all_prototypes = []
 for f in files:
  src_text = f.read()
  prototypes = generate_prototypes_from_src(src_text)
  all_prototypes += prototypes
 if (u'void setup()' in all_prototypes):
  all_prototypes.remove(u'void setup()')
 if (u'void loop()' in all_prototypes):
  all_prototypes.remove(u'void loop()')
 return all_prototypes

def generate_prototypes_from_files ( files ) : all_prototypes = [ ] for f in files : src_text = f . read ( ) prototypes = generate_prototypes_from_src ( src_text ) all_prototypes += prototypes if ( u'void setup()' in all_prototypes ) : all_prototypes . remove ( u'void setup()' ) if ( u'void loop()' in all_prototypes ) : all_prototypes . remove ( u'void loop()' ) return all_prototypes
generate prototypes for all functions of a given file list .