Skip to content

Fix packed array exports #646

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

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

lilizoey
Copy link
Member

Packed arrays use type string hints in godot 4.3+ now. This checks at runtime if we're running 4.3 for exports and uses that too if we are.

This shouldn't be a particularly hot path so i figured a runtime check works well enough, and it's a simple way to support the compile against 4.2 and run in 4.3 usecase.

@lilizoey lilizoey added bug c: register Register classes, functions and other symbols to GDScript labels Mar 12, 2024
@GodotRust
Copy link

API docs are being generated and will be shortly available at: https://godot-rust.github.io/docs/gdext/pr-646

Copy link
Member

@Bromeon Bromeon left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

@Bromeon Bromeon added this pull request to the merge queue Mar 12, 2024
Merged via the queue into godot-rust:master with commit 15abee1 Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug c: register Register classes, functions and other symbols to GDScript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants