getCString question


(Luke Howard) #1

In the implementation of getCString() in NSString.swift, it doesn’t appear to add the terminating NUL byte – is this a bug or am I missing something?

— Luke

···

--
www.lukehoward.com
soundcloud.com/lukehoward


(Philippe Hausler) #2

This probably is a bug. Additionally this seems to also be missing the NSCF callout as well.

···

On Dec 26, 2015, at 10:46 PM, Luke Howard via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

In the implementation of getCString() in NSString.swift, it doesn’t appear to add the terminating NUL byte – is this a bug or am I missing something?

— Luke
--
www.lukehoward.com <http://www.lukehoward.com/>
soundcloud.com/lukehoward

_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev