|Subject:||Re: Implementation of CFBridgingRelease() on GNUstep|
|Date:||Thu, 1 Jun 2017 00:07:41 +0000 (UTC)|
Hi Daniel,As everything currently stands, the answer to your question is, yes, CFBridgingRelease is eyewitness to CFRelease. We had a discussion about it either early this morning or last month.That said, since you are the second person to ask about these functions, I believe the safest route is to implement it. I'm going to be out of town until Monday, but I can look at into it then.Based on David's previous comments, I believe the best approach is to make it an alias to objc_release(), if that function exists, and an alias to CFRelease, otherwise. David, can you confirm that is the smartest approach?I apologize for any typos, I'm on my phone.StefanOn May 31, 2017 19:16, "Daniel Ferreira (theiostream)" <address@hidden> wrote:Hi there! I'm Daniel Ferreira, and I'm the student who will be
contributing to GNUstep through Google Summer of Code for the next
three months. I'll be working on getting WebKit to run on top of GS.
That being said, one of the first things I stumbled upon when building
WebKit against GS was the absence of a GS implementation of
I asked Ivan about how to deal with this and he was under the
impression that in GNUstep, CFBridgingRelease() should be equivalent
to CFRelease(), but he couldn't state that with absolute certainty.
So this is the question: are they somehow equivalent in CoreBase's
understanding of ARC? And if not, how would you suggest this be
implemented? I didn't see transferring memory ownership to ARC being
dealt with on threads like this about supporting ARC on CoreBase.
Also, only GS thread I could find that addresses the function in
particular is this one, and it doesn't look like much help either.
Gnustep-dev mailing list
|[Prev in Thread]||Current Thread||[Next in Thread]|