Christian Tietze

  • Blog Posts
  • Writing
  • Apps
  • Work With Me
  • Contact

Calling Swift Library Functions from C

Apr 25th, 2025

Not all Swift code can directly be made available to C – or rather via C to other ecosystems that allow FFI (foreign function interfaces) from C libraries. The key is twofold: The following is based on this Gist by Julian Kirsch : https://gist.github.com/HiImJulien/c79f07a8a619431b88ea33cca51de787

Continue reading …

  • ∞ Permalink
  • • Comments
  • • Tags:
    • cpp
    • c
    • swift

Contact • Newsletter • Blog Feed • /feeds • /now • /uses • @ctietze@mastodon.social • Privacy & Legal Information

Except where otherwise noted, content on this site is licensed CC BY-SA 4.0.

As an Amazon Associate I earn from qualifying purchases. This e.g. applies to links to Amazon.com.