[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementation of CFBridgingRelease() on GNUstep

From: Germán Arias
Subject: Re: Implementation of CFBridgingRelease() on GNUstep
Date: Wed, 31 May 2017 19:45:57 -0600



El jue, 01-06-2017 a las 00:07 +0000, Daniel Ferreira escribió:
Can you point me to where these discussions happened? I'd love to understand in more detail why this is so. 

-- Daniel
Sent from my iPhone

On Wed, May 31, 2017 at 9:05 PM -0300, "Stefan Bidigaray" <address@hidden> wrote:

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.


On 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[1] about supporting ARC on CoreBase.
Also, only GS thread I could find that addresses the function in
particular is this one[2], and it doesn't look like much help either.

-- Daniel.


Gnustep-dev mailing list

Gnustep-dev mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]