Swift function object wrapper in apple/swift : <p>After reading: </p>

<ul>
<li><a href="https://github.com/rodionovd/SWRoute/wiki/Function-hooking-in-Swift" rel="noreferrer">https://github.com/rodionovd/SWRoute/wiki/Function-hooking-in-Swift</a></li>
<li><a href="https://github.com/rodionovd/SWRoute/blob/master/SWRoute/rd_get_func_impl.c" rel="noreferrer">https://github.com/rodionovd/SWRoute/blob/master/SWRoute/rd_get_func_impl.c</a></li>
</ul>

<p>I understood that Swift function pointer is wrapped by <code>swift_func_wrapper</code> and <code>swift_func_object</code> (according to the article in 2014).</p>

<p>I guess this still works in Swift 3, but I couldn't find which file in <a href="https://github.com/apple/swift" rel="noreferrer">https://github.com/apple/swift</a> best describes these structs.</p>

<p>Can anyone help me?</p>
