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

Callable for Swift #41

Closed
migueldeicaza opened this issue May 1, 2023 · 2 comments
Closed

Callable for Swift #41

migueldeicaza opened this issue May 1, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@migueldeicaza
Copy link
Owner

It would be nice to provide a Callable that can proxy directly to a Swift method, like the native C# binding does.

This is not currently possible with the Godot extension API, as this requires access to the CustomCallable
version of Callable which is just not exposed there.

@migueldeicaza migueldeicaza added the enhancement New feature or request label May 1, 2023
@migueldeicaza
Copy link
Owner Author

migueldeicaza commented Sep 23, 2023

This will be available in Godot 4.2

@migueldeicaza migueldeicaza mentioned this issue Nov 28, 2023
13 tasks
@migueldeicaza
Copy link
Owner Author

Work in progress: 398f0ee

The above should work, the next step would be to make a macro to allow for nice strongly typed values, rather than just forcing folks to accept a Variant array and returning an optional variant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant