[swift-users] Using withUnsafePointer on char arrays within C structs

Quinn "The Eskimo!" eskimo1 at apple.com
Thu Feb 23 04:37:53 CST 2017


On 23 Feb 2017, at 10:31, Martin R <martinr448 at gmail.com> wrote:

> Is that simplified guaranteed to work?

Based on a previous conversation I had with the Swift folks about this, yes.

However, I don’t work on the compiler so it’s possible I misunderstood.  Perhaps someone from SwiftLand™ will chime in here.

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware




More information about the swift-users mailing list