| Top |
| CamelWeakRefGroup * | camel_weak_ref_group_new () |
| CamelWeakRefGroup * | camel_weak_ref_group_ref () |
| void | camel_weak_ref_group_unref () |
| void | camel_weak_ref_group_set () |
| gpointer | camel_weak_ref_group_get () |
CamelWeakRefGroup *
camel_weak_ref_group_new (void);
A new CamelWeakRefGroup instance, which should
be freed with camel_weak_ref_group_unref() when no longer needed.
[transfer full]
Since: 3.24
CamelWeakRefGroup *
camel_weak_ref_group_ref (CamelWeakRefGroup *group);
Increases a reference count of the group
.
Since: 3.24
void
camel_weak_ref_group_unref (CamelWeakRefGroup *group);
Decreases a reference count of the group
. The group
is
freed when the reference count reaches zero.
Since: 3.24
void camel_weak_ref_group_set (CamelWeakRefGroup *group,gpointer object);
Sets the object
as the object help by this group
. If
the object
is NULL, then unsets any previously set.
Since: 3.24
gpointer
camel_weak_ref_group_get (CamelWeakRefGroup *group);
A referenced object associated with
group
, or NULL, when no object had been set to it. Use g_object_unref()
to free it, when no longer needed.
[transfer full][nullable]
Since: 3.24