mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
SCons: Ensure written files are properly flushed/closed
Also add `core/method_bind_ext.inc` to `.gitignore`.
(cherry picked from commit ad2fb7d93b)
This commit is contained in:
parent
8ee6e3848e
commit
c47810c33b
8 changed files with 19 additions and 10 deletions
|
|
@ -157,6 +157,7 @@ f.write("void glWrapperInit( GLWrapperFuncPtr (*wrapperFunc)(const char*) );\n")
|
|||
f.write("#ifdef __cplusplus\n}\n#endif\n")
|
||||
|
||||
f.write("#endif\n\n")
|
||||
f.close()
|
||||
|
||||
f=open("glwrapper.c","w")
|
||||
|
||||
|
|
@ -177,8 +178,7 @@ for x in functions:
|
|||
f.write("\n\n")
|
||||
f.write("}\n")
|
||||
f.write("\n\n")
|
||||
|
||||
|
||||
f.close()
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue