mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
gboxed: Add missing (scope forever) annotations
Boxed types can never be unregistered, so these closures have to be around forever. Fixes some g-ir-scanner warnings. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3037
This commit is contained in:
parent
58208c4ace
commit
47869719be
@ -255,8 +255,8 @@ boxed_proxy_lcopy_value (const GValue *value,
|
||||
/**
|
||||
* g_boxed_type_register_static:
|
||||
* @name: Name of the new boxed type.
|
||||
* @boxed_copy: Boxed structure copy function.
|
||||
* @boxed_free: Boxed structure free function.
|
||||
* @boxed_copy: (scope forever): Boxed structure copy function.
|
||||
* @boxed_free: (scope forever): Boxed structure free function.
|
||||
*
|
||||
* This function creates a new %G_TYPE_BOXED derived type id for a new
|
||||
* boxed type with name @name.
|
||||
|
Loading…
Reference in New Issue
Block a user