pub unsafe extern "C" fn FLArray_MutableCopy(
arg1: FLArray,
arg2: FLCopyFlags,
) -> FLMutableArrayExpand description
Creates a new mutable Array that’s a copy of the source Array. Its initial ref-count is 1, so a call to \ref FLMutableArray_Release will free it.
Copying an immutable Array is very cheap (only one small allocation) unless the flag \ref kFLCopyImmutables is set.
Copying a mutable Array is cheap if it’s a shallow copy; but if \ref kFLDeepCopy is set, nested mutable Arrays and Dicts are also copied, recursively; if \ref kFLCopyImmutables is also set, immutable values are also copied, recursively.
If the source Array is NULL, then NULL is returned.