outputting a value to a typedef pointer in swift
问题 I'm almost certain the title of this isn't correct but here goes... I'm bridging to an Objective-C class to set a typedef. The bridge is set up and I'm able to declare the typedef var correctly. In Objective-C I also called a method from the same class that, when called, output a value to the variable TestHandle. var TestHandle : TESTHANDLE TestInit(&TestHandle) When I try this using Swift 5 I get this error: Cannot convert value of type 'inout TESTHANDLE' (aka 'inout UnsafeMutableRawPointer'