diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2017-11-30 19:26:35 -0500 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.com> | 2018-01-04 11:04:07 -0500 |
commit | 0e7b82abb93aeb6fdf374d9e1e4fd4f4636a11f8 (patch) | |
tree | 1f5a867717145d5c8d6b5e8d88800e87464aed62 /gmodule | |
parent | 7f69b828fcf952fac9cb27da1e74b2fdffa997d0 (diff) | |
download | glib-0e7b82abb93aeb6fdf374d9e1e4fd4f4636a11f8.tar.gz |
GTypeModule: Allow registering static types
This makes easier to write a module that can be both dynamic and static.
It will allow to statically build modules from glib-networking, for
example.
A module can rename its g_io_module_load() function to
g_io_<modulename>_load(), and then an application which links statically
against that module can call g_io_<modulename>_load(NULL) to register
types and extension points from the module. If a module is loaded
dynamically, its load() function will continue to be called with a
non-NULL GIOModule instance.
https://bugzilla.gnome.org/show_bug.cgi?id=684282
Diffstat (limited to 'gmodule')
0 files changed, 0 insertions, 0 deletions