1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix errors in Python 3 build

This commit is contained in:
Matthias Hoelzl
2017-09-14 14:34:53 +02:00
parent 62cb43bb8d
commit f3745a23be
2 changed files with 11 additions and 11 deletions

View File

@@ -385,7 +385,7 @@ def make_license_header(target, source, env):
def _make_doc_data_class_path(to_path): def _make_doc_data_class_path(to_path):
g = open_utf8(os.path.join(to_path,"doc_data_class_path.gen.h"), "wb") g = open_utf8(os.path.join(to_path,"doc_data_class_path.gen.h"), "w")
g.write("static const int _doc_data_class_path_count="+str(len(env.doc_class_path))+";\n") g.write("static const int _doc_data_class_path_count="+str(len(env.doc_class_path))+";\n")
g.write("struct _DocDataClassPath { const char* name; const char* path; };\n") g.write("struct _DocDataClassPath { const char* name; const char* path; };\n")