withUnsafePointers

func withUnsafePointers<A0, A1, Result>(inout: A0, inout: A1, body: @noescape (UnsafePointer<A0>, UnsafePointer<A1>) -> Result)

Like withUnsafePointer, but passes pointers to arg0 and arg1.

Declaration

func withUnsafePointers<A0, A1, Result>(inout arg0: A0, inout arg1: A1, body: @noescape (UnsafePointer<A0>, UnsafePointer<A1>) -> Result) -> Result
func withUnsafePointers<A0, A1, A2, Result>(inout: A0, inout: A1, inout: A2, body: @noescape (UnsafePointer<A0>, UnsafePointer<A1>, UnsafePointer<A2>) -> Result)

Like withUnsafePointer, but passes pointers to arg0, arg1, and arg2.

Declaration

func withUnsafePointers<A0, A1, A2, Result>(inout arg0: A0, inout arg1: A1, inout arg2: A2, body: @noescape (UnsafePointer<A0>, UnsafePointer<A1>, UnsafePointer<A2>) -> Result) -> Result