[swift-users] Ugliness bridging Swift String to char *
Kenny Leung
kenny_leung at pobox.com
Wed Mar 1 22:48:18 CST 2017
> On Mar 1, 2017, at 7:08 PM, Kenny Leung via swift-users <swift-users at swift.org> wrote:
>
> If it’s “making very few assumptions”, I would think that, for safety’s sake, functions that return a pointer would always be optional, forcing the user to deal with any possible null pointer returns.
>
Talking myself into a circle there. We’re not talking about return values, but the value of PQprintOpt.fieldSep.
Also interesting - I thought being a IUO meant that you could not set the value to nil, but that’s not true. You can!
-Kenny
More information about the swift-users
mailing list