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

Support static functions in Callable #989

Merged
merged 1 commit into from
Dec 24, 2024
Merged

Conversation

Bromeon
Copy link
Member

@Bromeon Bromeon commented Dec 24, 2024

Closes #481.

Currently for single-threaded only, might add "sync" version in the future. But this whole topic needs a bit more discussion, because from_object_method as well as Callable::call(), Variant::call(), Object::call() all allow cross-thread function calls.

@Bromeon Bromeon added feature Adds functionality to the library c: core Core components labels Dec 24, 2024
@Bromeon Bromeon added this pull request to the merge queue Dec 24, 2024
@GodotRust
Copy link

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

Merged via the queue into master with commit 06dcda7 Dec 24, 2024
45 checks passed
@Bromeon Bromeon deleted the feature/static-callable branch December 24, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: core Core components feature Adds functionality to the library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't create callables from static methods
2 participants