[Webkit-unassigned] [Bug 243663] [GLib] Most public types should be final; most class structs should be private

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 5 06:53:54 PST 2022


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

Michael Catanzaro <mcatanzaro at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mcatanzaro at gnome.org
            Summary|[GTK Most public types      |[GLib] Most public types
                   |should be final; most class |should be final; most class
                   |structs should be private   |structs should be private

--- Comment #1 from Michael Catanzaro <mcatanzaro at gnome.org> ---
More specifically, we can use G_DECLARE_FINAL_TYPE for most types, and G_DECLARE_DERIVABLE_TYPE for the few that need to be derivable.

This will make the header files more complicated for now, because it's an ABI change, so we have to keep all the boilerplate for the older API versions. But when we eventually remove the older API versions, then we can remove the boilerplate, and the headers will be cleaner. So it's worth it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221205/1ee33bf2/attachment-0001.htm>


More information about the webkit-unassigned mailing list