Passing an Array of Strings from Swift to C

Swift has built-in support for bridging native strings to C strings, but this doesn’t include transparent bridging of arrays of strings to arrays of C strings. Here I discuss an internal helper function the Swift standard library uses for this purpose.

Similar