mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
autocleanups: Add G*Array types
Not sure how these were omitted. Probably few people are really using this yet...and we don't have test cases (that's in the other patch). https://bugzilla.gnome.org/show_bug.cgi?id=744830
This commit is contained in:
parent
9b03587707
commit
9d6d30475b
@ -33,6 +33,9 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GHmac, g_hmac_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GIOChannel, g_io_channel_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GKeyFile, g_key_file_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GList, g_list_free)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GArray, g_array_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GPtrArray, g_ptr_array_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GByteArray, g_byte_array_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMainContext, g_main_context_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GMainLoop, g_main_loop_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSource, g_source_unref)
|
||||
|
Loading…
Reference in New Issue
Block a user