pub unsafe extern "C" fn yyjson_doc_mut_copy(
doc: *mut yyjson_doc,
alc: *const yyjson_alc,
) -> *mut yyjson_mut_docExpand description
Copies and returns a new mutable document from input, returns NULL on error.
This makes a deep-copy on the immutable document.
If allocator is NULL, the default allocator will be used.
@note imut_doc -> mut_doc.