mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +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:
@@ -41,6 +41,8 @@ typedef struct _GUnixInputStream GUnixInputStream;
|
||||
typedef struct _GUnixInputStreamClass GUnixInputStreamClass;
|
||||
typedef struct _GUnixInputStreamPrivate GUnixInputStreamPrivate;
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixInputStream, g_object_unref)
|
||||
|
||||
struct _GUnixInputStream
|
||||
{
|
||||
GInputStream parent_instance;
|
||||
|
Reference in New Issue
Block a user