core: add autoptr cleanup methods to all internal types

This commit is contained in:
Aleksander Morgado
2020-09-19 20:26:43 +02:00
parent 19ddfa18bb
commit 00949c4ad3
48 changed files with 55 additions and 3 deletions

View File

@@ -77,6 +77,7 @@ struct _MMPortSerialAtClass {
};
GType mm_port_serial_at_get_type (void);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMPortSerialAt, g_object_unref)
MMPortSerialAt *mm_port_serial_at_new (const char *name,
MMPortSubsys subsys);