Unmanaged.passUnretained(self).toOpaque() to Swift 3
<p>I have the following error:</p>

<p><a href="https://i.stack.imgur.com/ftkW7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ftkW7.png" alt="enter image description here"></a></p>

<p>the line of code in the image is this:</p>

<pre><code>context.info = UnsafeMutablePointer(Unmanaged.passUnretained(self).toOpaque())
</code></pre>

<p>I am not sure how to fix this. I did look into this:</p>

<p><a href="https://github.com/apple/swift-evolution/blob/master/proposals/0017-convert-unmanaged-to-use-unsafepointer.md" rel="nofollow noreferrer">https://github.com/apple/swift-evolution/blob/master/proposals/0017-convert-unmanaged-to-use-unsafepointer.md</a></p>

<p>but, I am not sure how to properly fix the error.</p>

<p>Any help?</p>