@func, as a #GCopyFunc, takes two arguments, the data to be copied
and a @user_data pointer. On common processor architectures, it's safe to
pass %NULL as @user_data if the copy function takes only one argument. You
may get compiler warnings from this though if compiling with GCC’s
-Wcast-function-type warning.
If @func is %NULL, then only the pointers (and not what they are
pointing to) are copied to the new #GPtrArray.
The copy of @array will have the same #GDestroyNotify for its elements as
@array.
Makes a full (deep) copy of a #GPtrArray.
@func, as a #GCopyFunc, takes two arguments, the data to be copied and a @user_data pointer. On common processor architectures, it's safe to pass %NULL as @user_data if the copy function takes only one argument. You may get compiler warnings from this though if compiling with GCC’s -Wcast-function-type warning.
If @func is %NULL, then only the pointers (and not what they are pointing to) are copied to the new #GPtrArray.
The copy of @array will have the same #GDestroyNotify for its elements as @array.