Avatar
omochimetaru 6/8/2017 5:41 AM
知らなかった。
5:42 AM
If you have declared a function like this one: func takesAPointer(_ p: UnsafePointer<Float>) { // ... } You can call it in any of the following ways: var x: Float = 0.0 takesAPointer(&x) takesAPointer([1.0, 2.0, 3.0])
5:42 AM
ほんまや。