mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
gobject: Box GMappedFile
GMappedFile is current unintrospectable, because it's not a registered box type. It already has reference counting functions, so there's little reason not to box it. This commit adds GMappedFile to the hoard of other boxes types handled by gboxed.c https://bugzilla.gnome.org/show_bug.cgi?id=712393
This commit is contained in:
@@ -155,6 +155,7 @@ G_DEFINE_BOXED_TYPE (GError, g_error, g_error_copy, g_error_free)
|
||||
G_DEFINE_BOXED_TYPE (GDateTime, g_date_time, g_date_time_ref, g_date_time_unref);
|
||||
G_DEFINE_BOXED_TYPE (GTimeZone, g_time_zone, g_time_zone_ref, g_time_zone_unref);
|
||||
G_DEFINE_BOXED_TYPE (GKeyFile, g_key_file, g_key_file_ref, g_key_file_unref)
|
||||
G_DEFINE_BOXED_TYPE (GMappedFile, g_mapped_file, g_mapped_file_ref, g_mapped_file_unref)
|
||||
|
||||
G_DEFINE_BOXED_TYPE (GMainLoop, g_main_loop, g_main_loop_ref, g_main_loop_unref)
|
||||
G_DEFINE_BOXED_TYPE (GMainContext, g_main_context, g_main_context_ref, g_main_context_unref)
|
||||
|
Reference in New Issue
Block a user