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

[RFC] C bindings #84

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

[RFC] C bindings #84

wants to merge 16 commits into from

Conversation

jslegendre
Copy link

C bindings for use with plain C, Objective-C, and interfacing with other languages which do not have a Swift FFI.

To build and run the C example you must first run swift build in the project directory. This will resolve all external dependencies. Then open the Xcode project and proceed as usual.

I am not a Swift expert so please feel free to point out any oddities in the glue code as well as the API in general.

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

Successfully merging this pull request may close these issues.

1 participant