summaryrefslogtreecommitdiff
path: root/utils/internal/fake_includes.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/internal/fake_includes.py')
-rw-r--r--utils/internal/fake_includes.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/utils/internal/fake_includes.py b/utils/internal/fake_includes.py
new file mode 100644
index 0000000..b55f767
--- /dev/null
+++ b/utils/internal/fake_includes.py
@@ -0,0 +1,13 @@
+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()
+
+