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

Correct element type for TypedArray<> #1547

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

Conversation

raulsntos
Copy link
Member

@raulsntos raulsntos added enhancement This is an enhancement on the current functionality topic:gdextension This relates to the new Godot 4 extension implementation labels Aug 13, 2024
@raulsntos raulsntos added this to the 4.x milestone Aug 13, 2024
@raulsntos raulsntos requested a review from a team as a code owner August 13, 2024 17:03
Comment on lines -2711 to -2714
def correct_typed_array(type_name):
if type_name.startswith("typedarray::"):
return type_name.replace("typedarray::", "TypedArray<") + ">"
return type_name
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was unused.

@dsnopek
Copy link
Collaborator

dsnopek commented Aug 22, 2024

Thanks! I've only skimmed the changes, but at a glance this seems good :-)

However, I think we should have the discussion I mentioned on the Godot PR before moving forward with this.

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 topic:gdextension This relates to the new Godot 4 extension implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants