Skip to content

Commit 073771b

Browse files
committed
add using namespace godot; everywhere to includes
1 parent 1206b69 commit 073771b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

binding_generator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1593,6 +1593,7 @@ def generate_compat_includes(godot_repo: Path, output_dir: Path):
15931593
result.append(f"#else")
15941594
file_godot_cpp_name = file_godot_cpp_name.replace("gen/include/", "")
15951595
result.append(f"#include <{Path(file_godot_cpp_name).as_posix()}>")
1596+
result.append(f"using namespace godot;")
15961597
result.append(f"#endif")
15971598
result.append("")
15981599
result.append(f"#endif // ! {header_guard}")

0 commit comments

Comments
 (0)