Skip to content

Correct element type for TypedArray<> #1547

New issue

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

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

Already on GitHub? # to your account

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.

@raulsntos raulsntos force-pushed the typedarray-metadata branch from 9a91fb1 to 9fd0a12 Compare August 13, 2024 17:06
@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.

# for free to join this conversation on GitHub. Already have an account? # 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