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.
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.