Building Swift Bindings to libgit2
Brian Gesiak: The str parameter is of type UnsafePointer<Int8>, but thanks to Swift’s ability to interoperate with C, we can just pass this function a Swift String. Read the Apple blog article linked above for details.[…]Unfortunately, in Interacting with C Pointers in Swift, @develtima explains that we can’t get a usable CFunctionPointer to a function … Continue reading Building Swift Bindings to libgit2
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed