Stuck with UnsafePointer / Dangling Pointer (iOS Swift)

后端 未结 0 2061
别跟我提以往
别跟我提以往 2020-11-27 03:39

this throws a compiler warning:

let ptr = UnsafePointer(array)
vDSP_meanvD(ptr + startIdx, 1, &mean, UInt(stopIdx - startIdx))
相关标签:
回答
  • 消灭零回复
提交回复
热议问题