withUnsafeMutablePointers

func withUnsafeMutablePointers<A0, A1, Result>(inout: A0, inout _: A1, _: (UnsafeMutablePointer<A0>, UnsafeMutablePointer<A1>) throws -> Result)

Like withUnsafeMutablePointer, but passes pointers to arg0 and arg1.

Declaration

func withUnsafeMutablePointers<A0, A1, Result>(inout arg0: A0, inout _ arg1: A1, @noescape _ body: (UnsafeMutablePointer<A0>, UnsafeMutablePointer<A1>) throws -> Result) rethrows -> Result
func withUnsafeMutablePointers<A0, A1, A2, Result>(inout: A0, inout _: A1, inout _: A2, _: (UnsafeMutablePointer<A0>, UnsafeMutablePointer<A1>, UnsafeMutablePointer<A2>) throws -> Result)

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

Declaration

func withUnsafeMutablePointers<A0, A1, A2, Result>(inout arg0: A0, inout _ arg1: A1, inout _ arg2: A2, @noescape _ body: (UnsafeMutablePointer<A0>, UnsafeMutablePointer<A1>, UnsafeMutablePointer<A2>) throws -> Result) rethrows -> Result