[Webkit-unassigned] [Bug 16401] [GTK] GObject/C DOM binding

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 14 11:06:36 PDT 2008


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





------- Comment #37 from lkcl at lkcl.net  2008-09-14 11:06 PDT -------
const gchar strings.

i asked on gtk-devel list and got a reply which explains, so now i know a
little bit what you're referring to.  "const gchar string" means "thou shalt
not free the return result".

all other strings, the convention is defined by the library itself, but it's
usually "caller frees return result".

i'd much prefer that the convention for glib be "caller frees return result".

even in the case of const properties, by stripping off the "const" on the
return result.

that way, what the e.g. pywebkitgtk can be told is "all strings into your
domain, you're responsible for free()ing".


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



More information about the webkit-unassigned mailing list