-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
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
Accurately document StringName comparisons #77083
Conversation
Please squash the commits into one :) |
For comparison other than Fix in #77197, required for this to be fully correct in documentation It could also be useful to add a note about casting to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be merged with #77197.
8d04790
to
2f9121d
Compare
Thanks, and congrats on your first merged Godot PR! |
Cherry-picked for 4.0.4. |
A few months ago someone kindly wrote documentation for the operators of both
String
andStringName
(#68217). Unfortunately,StringName
's comparison operators do not function the same as the ones forString
do, comparing only the order of the pointers (at least, if my experimentation and understanding of the engine code are to be believed).This PR simply corrects the documentation of the comparison operators for
StringName
.