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

sys::short_type_name, conversions and relaxed GodotType #957

Merged
merged 4 commits into from
Dec 2, 2024

Conversation

Bromeon
Copy link
Member

@Bromeon Bromeon commented Dec 2, 2024

In godot-ffi crate (sys module), adds bool_from_sys() conversion as a counterpart to bool_to_sys. Further adds two functions short_type_name and short_type_name_of_val, which are unqualified versions of the std::any equivalents.

Also relaxes some bounds around the Array code: a lot previously required GodotType, which is too strict. This is preparation for DynGd, which won't be GodotType but still can be used in several Godot contexts.

@Bromeon Bromeon added quality-of-life No new functionality, but improves ergonomics/internals c: core Core components labels Dec 2, 2024
@Bromeon Bromeon added this pull request to the merge queue Dec 2, 2024
@GodotRust
Copy link

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

Merged via the queue into master with commit a60290c Dec 2, 2024
15 checks passed
@Bromeon Bromeon deleted the qol/traits-and-tools branch December 2, 2024 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: core Core components quality-of-life No new functionality, but improves ergonomics/internals
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants