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

jextract-swift support for generic Swift methods #32

Open
ktoso opened this issue Oct 1, 2024 · 0 comments
Open

jextract-swift support for generic Swift methods #32

ktoso opened this issue Oct 1, 2024 · 0 comments
Labels
jextract-swift Issues related to jextract-swift

Comments

@ktoso
Copy link
Collaborator

ktoso commented Oct 1, 2024

This may be tricky, but we should investigate how much is possible here.

This would likely require help from Swift emitted thunks, as the way that metadata is passed may be non-trivial.

Perhaps we can handle some simple cases at first though.

Generic signatures are non trivial in Swift, so this would require additional information from the Swift interfaces to somehow make it "managable", see: https://github.com/swiftlang/swift/blob/main/docs/ABI/GenericSignature.md

@ktoso ktoso added the jextract-swift Issues related to jextract-swift label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jextract-swift Issues related to jextract-swift
Projects
None yet
Development

No branches or pull requests

1 participant