mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
docs: Use the right g_autoptr function when using an auxiliary function
This commit is contained in:
parent
c8692fffe0
commit
5350f1271e
@ -152,7 +152,7 @@
|
||||
* g_atomic_rc_box_release_full (data, (GDestroyNotify) my_data_struct_clear);
|
||||
* }
|
||||
*
|
||||
* G_DEFINE_AUTOPTR_CLEANUP_FUNC (MyDataStruct, my_data_struct_clear)
|
||||
* G_DEFINE_AUTOPTR_CLEANUP_FUNC (MyDataStruct, my_data_struct_release)
|
||||
* ]|
|
||||
*
|
||||
* Since: 2.58.
|
||||
|
@ -156,7 +156,7 @@
|
||||
* g_rc_box_release_full (data, (GDestroyNotify) my_data_struct_clear);
|
||||
* }
|
||||
*
|
||||
* G_DEFINE_AUTOPTR_CLEANUP_FUNC (MyDataStruct, my_data_struct_clear)
|
||||
* G_DEFINE_AUTOPTR_CLEANUP_FUNC (MyDataStruct, my_data_struct_release)
|
||||
* ]|
|
||||
*
|
||||
* Since: 2.58.
|
||||
|
Loading…
Reference in New Issue
Block a user