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

Macros: Improve Callable support #268

Open
migueldeicaza opened this issue Dec 2, 2023 · 0 comments
Open

Macros: Improve Callable support #268

migueldeicaza opened this issue Dec 2, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@migueldeicaza
Copy link
Owner

migueldeicaza commented Dec 2, 2023

It is now possible to create Godot Callable variants that wrap an invocation to a Swift method that takes a [Variant] and returns an optional Variant.

It would be nice to have a macro that would generate the proxy code so that we do not need to deal with Variants (continuation of #41)

I believe there is a way of creating Callables out of functions now, I had that discussion with Juan a year ago, and I sadly do not recall where it was.

@migueldeicaza migueldeicaza added the enhancement New feature or request label Dec 3, 2023
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