mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-29 12:24:12 +02:00
gio: add support for g_auto() and g_autoptr()
Add support to libgio types for the new cleanup macros. https://bugzilla.gnome.org/show_bug.cgi?id=743640
This commit is contained in:
@@ -33,6 +33,7 @@ G_BEGIN_DECLS
|
||||
#define G_WIN32_MOUNT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_WIN32_MOUNT, GWin32MountClass))
|
||||
#define G_IS_WIN32_MOUNT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_WIN32_MOUNT))
|
||||
#define G_IS_WIN32_MOUNT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_WIN32_MOUNT))
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GWin32Mount, g_object_unref)
|
||||
|
||||
typedef struct _GWin32MountClass GWin32MountClass;
|
||||
|
||||
|
Reference in New Issue
Block a user