Calling Functions With Pointer Parameters
関数をポインタパラメータで呼び出す
Use implicit pointer casting or bridging when calling functions that takes pointers as parameters.
暗黙的なポインタキャストまたはブリッジを、ポインタをパラメータとして取る関数を呼び出す場合に使ってください。
struct UnsafePointer
struct UnsafeMutablePointer
struct UnsafeBufferPointer
struct UnsafeMutableBufferPointer
struct UnsafeRawPointer
struct UnsafeMutableRawPointer
struct UnsafeRawBufferPointer
struct UnsafeMutableRawBufferPointer
func withUnsafePointer <T, Result>(to: T, (UnsafePointer<T>) -> Result) -> Result
func withUnsafePointer <T, Result>(to: inout T, (UnsafePointer<T>) -> Result) -> Result
func withUnsafeMutablePointer <T, Result>(to: inout T, (UnsafeMutablePointer<T>) -> Result) -> Result
func withUnsafeBytes <T, Result>(of: T, (UnsafeRawBufferPointer) -> Result) -> Result
func withUnsafeBytes <T, Result>(of: inout T, (UnsafeRawBufferPointer) -> Result) -> Result
func withUnsafeMutableBytes <T, Result>(of: inout T, (UnsafeMutableRawBufferPointer) -> Result) -> Result
func swap<T>(inout T, inout T)
enum MemoryLayout
struct Unmanaged
func withExtendedLifetime <T, Result>(T, (T) -> Result) -> Result
func withExtendedLifetime <T, Result>(T, () -> Result) -> Result