I'm working with a C function that takes an array of pointers (specifically, git_commit_create() from libgit2), and the type of that parameter comes through as UnsafeMutablePointer<OpaquePointer?>!. I have the OpaquePointers in an array, so how do I convert that to something I can pass to this function?
I tried simply doing &pointerArray but the compiler said "Cannot convert value of type '[OpaquePointer]' to expected argument type 'OpaquePointer?'".