[Webkit-unassigned] [Bug 62642] [Efl] Add EflOwnPtr to wtf

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 15 09:14:37 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62642





--- Comment #22 from Raphael Kubo da Costa <kubo at profusion.mobi>  2011-06-15 09:14:37 PST ---
(In reply to comment #21)
> (In reply to comment #20)
> > (In reply to comment #19)
> > > If you must have a specialized OwnPtr, we can probably share most of the code with GOwnPtr.
> > 
> > I think so, too. But I still don't know what to do in the general case, such as char*'s: do you suggest making GOwnPtr's default freeOwnedGPtr call g_free() or free() depending on the platform?
> 
> Yes, that could work.

Good. Going back to comment #11, do you think it makes sense to either move GOwnPtr out of gobject/ to make it more general? How about specializing OwnPtr for GError, GList and the rest and removing the GOwnPtr specializations for them?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list