-
-
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
Add metadata for char16_t
and char32_t
#95840
Conversation
e199375
to
cd9b99e
Compare
Thanks! This looks good to me. The CI situation is going to be a little weird. In order to prevent a circular dependency between the CI of Godot and godot-cpp, we run godot-cpp N-1 in the Godot tests. So, maybe we'll need to cherry-pick the change to recognize |
Oh, I didn't realize we weren't using the |
We don't seem to expose any API that uses `char16_t` yet, but I added it anyway since we make the type info for it. I didn't add anything for `wchar_t` because we are not making a type info so maybe we don't have a need for it yet, it could be added in the future. To prevent breaking compatibility with the C# bindings, we ignore the `char32_t` metadata and still use `System.Int64`.
cd9b99e
to
aaffab8
Compare
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.
Yay, CI is passing now! These changes look good to me
Thanks! |
PtrToArg<char32_t>
#95317.We don't seem to expose any API that uses
char16_t
yet, but I added it anyway since we make the type info for it.I didn't add anything for
wchar_t
because we are not making a type info so maybe we don't have a need for it yet, it could be added in the future.To prevent breaking compatibility with the C# bindings, we ignore the
char32_t
metadata and still useSystem.Int64
.