You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import os.path
|
|
|
|
for cur_path, dirs, files in os.walk('.'):
|
|
if cur_path == '.':
|
|
for f in files:
|
|
if f.endswith('.h'):
|
|
print f
|
|
fo = open(f, 'w')
|
|
fo.write('#include "_fake_defines.h"\n')
|
|
fo.write('#include "_fake_typedefs.h"\n')
|
|
fo.close()
|
|
|
|
|