mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 20:46:14 +01:00
Some fixes
This commit is contained in:
parent
18f3b27fa0
commit
f10d33064a
@ -64,15 +64,15 @@ format_output (guchar *metadata,
|
|||||||
if (!no_init)
|
if (!no_init)
|
||||||
{
|
{
|
||||||
g_string_append_printf (result,
|
g_string_append_printf (result,
|
||||||
"void\n"
|
"__attribute__((constructor)) void\n"
|
||||||
"register_metadata (void) __attribute__((constructor))\n"
|
"register_metadata (void)\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"\tg_irepository_register (NULL, _G_METADATA);\n"
|
"\tg_irepository_register (NULL, _G_METADATA);\n"
|
||||||
"}\n\n");
|
"}\n\n");
|
||||||
|
|
||||||
g_string_append_printf (result,
|
g_string_append_printf (result,
|
||||||
"void\n"
|
"__attribute__((destructor)) void\n"
|
||||||
"unregister_metadata (void) __attribute__((destructor))\n"
|
"unregister_metadata (void)\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
"\tg_irepository_unregister (NULL, _G_METADATA);\n"
|
"\tg_irepository_unregister (NULL, _G_METADATA);\n"
|
||||||
"}\n");
|
"}\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user