unsafeAddr操作符
unsafeAddr 操作符是 addr 操作符已弃用的别名:
let myArray = [1, 2, 3]
foreignProcThatTakesAnAddr(unsafeAddr myArray)
当前内容版权归 vectorworkshopbaoerjie 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 vectorworkshopbaoerjie .
unsafeAddr 操作符是 addr 操作符已弃用的别名:
let myArray = [1, 2, 3]
foreignProcThatTakesAnAddr(unsafeAddr myArray)
本文档使用 BookStack 构建