Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use namespace in defs.hpp #1617

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zhehangd
Copy link
Contributor

@zhehangd zhehangd commented Oct 8, 2024

Code in defs.hpp is not in namespace godot and I don't see any reason for that. Fixing the namesapce has no effect to the other files in the library as they are already in it. From users' perspective they will need to add prefix godot:: to real_t, IndexSequence, BuildIndexSequence if they don't use using namespace godot; (like me). This breaks the compatibility to the old versions but the impact should be small.

@zhehangd zhehangd requested a review from a team as a code owner October 8, 2024 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant