Commit 90d3337e authored by Philip Withnall's avatar Philip Withnall

docs: Mention pointer semantics for g_array_set_clear_func()

Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
Reviewed-by: nobody
parent 2e117e24
Pipeline #4051 failed with stage
in 3 minutes and 51 seconds
......@@ -220,7 +220,8 @@ g_array_sized_new (gboolean zero_terminated,
*
* The @clear_func will be called when an element in the array
* data segment is removed and when the array is freed and data
* segment is deallocated as well.
* segment is deallocated as well. @clear_func will be passed a
* pointer to the element to clear, rather than the element itself.
*
* Note that in contrast with other uses of #GDestroyNotify
* functions, @clear_func is expected to clear the contents of
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment