2015-01-28 12:46:34 +01:00
|
|
|
/*
|
|
|
|
* Copyright © 2015 Canonical Limited
|
|
|
|
*
|
2022-06-01 13:44:23 +02:00
|
|
|
* SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
*
|
2015-01-28 12:46:34 +01:00
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2017-01-05 14:09:06 +01:00
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2015-01-28 12:46:34 +01:00
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
* Author: Ryan Lortie <desrt@desrt.ca>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
|
|
|
|
#error "Only <glib-object.h> can be included directly."
|
|
|
|
#endif
|
|
|
|
|
2023-10-13 13:56:48 +02:00
|
|
|
#ifndef __GI_SCANNER__
|
|
|
|
|
2017-08-16 13:19:30 +02:00
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GClosure, g_closure_unref)
|
2018-05-15 16:36:41 +02:00
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GEnumClass, g_type_class_unref)
|
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GFlagsClass, g_type_class_unref)
|
2015-01-28 12:46:34 +01:00
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GObject, g_object_unref)
|
2015-02-20 20:54:07 +01:00
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GInitiallyUnowned, g_object_unref)
|
2018-05-15 16:30:01 +02:00
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GParamSpec, g_param_spec_unref)
|
2018-05-15 16:36:41 +02:00
|
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GTypeClass, g_type_class_unref)
|
2015-10-02 16:00:54 +02:00
|
|
|
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(GValue, g_value_unset)
|
2023-10-13 13:56:48 +02:00
|
|
|
|
|
|
|
#endif /* __GI_SCANNER__ */
|