<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">><i class=""> On Dec 22, 2015, at 1:08 PM, Joe Groff via swift-dev <<a href="https://lists.swift.org/mailman/listinfo/swift-dev" class="">swift-dev at swift.org</a>> wrote:
</i>><i class="">
</i>><i class=""> It looks like the corelibs implementation of CoreFoundation references swift_retainCount in order to implement CFGetRetainCount. Is getting the retain count necessary to CF functionality, or can these functions be removed?</i></pre></div><div class=""><br class=""></div>For some reason I was not on this list;<div class="">So in response to your query about CF’s usage of CFGetRetainCount - I think we can safely forbid that function in the swift version since there is no safe way to use it (even CFMachPort is a bit dodgy for it’s usage).</div><div class=""><br class=""></div><div class="">It might take some surgery but I can probably excise that fairly simply.</div></body></html>