I\'m trying to pass a const char * to an old C library converted from a Swift string in Swift.
This is the C function I\'m calling:
artnet_node artne
Simple way for Swift 3
var ipAddress: String = "192.168.1.43" var verbose: Int = 1 artnet_node artnet_new((ipAddress as NSString).utf8String, verbose)