mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-01 21:59:38 +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:
@@ -42,6 +42,8 @@ typedef struct _GUnixFDMessagePrivate GUnixFDMessagePrivat
|
||||
typedef struct _GUnixFDMessageClass GUnixFDMessageClass;
|
||||
typedef struct _GUnixFDMessage GUnixFDMessage;
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixFDMessage, g_object_unref)
|
||||
|
||||
struct _GUnixFDMessageClass
|
||||
{
|
||||
GSocketControlMessageClass parent_class;
|
||||
|
Reference in New Issue
Block a user