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

Implement String::resize() in godot-cpp #1166

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

dsnopek
Copy link
Collaborator

@dsnopek dsnopek commented Jul 7, 2023

Fixes #1141

This depends on Godot PR godotengine/godot#79156

A test is added to the automated test suite, which seems to show this functionality working!

@dsnopek dsnopek added the enhancement This is an enhancement on the current functionality label Jul 7, 2023
@dsnopek dsnopek requested a review from bruvzg July 7, 2023 13:51
@dsnopek dsnopek requested a review from a team as a code owner July 7, 2023 13:51
@dsnopek
Copy link
Collaborator Author

dsnopek commented Jul 7, 2023

@bruvzg made good points on the Godot PR for this being exposed normally, rather than via gdextension_interface.h. I'm going to close this one.

@dsnopek dsnopek closed this Jul 7, 2023
@dsnopek dsnopek reopened this Jul 8, 2023
@dsnopek dsnopek removed the archived label Jul 8, 2023
@dsnopek
Copy link
Collaborator Author

dsnopek commented Jul 8, 2023

Re-opening based on the discussion on PR godotengine/godot#79177

@dsnopek
Copy link
Collaborator Author

dsnopek commented Jul 8, 2023

FYI, this will fail CI until after the Godot PR is merged, since this PR adds a test for the functionality it's adding.

@dsnopek dsnopek merged commit 5834e16 into godotengine:master Jul 31, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is an enhancement on the current functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

String::resize() isn't exposed to GDExtension
3 participants