yyjson_mut_doc_mut_copy

Function yyjson_mut_doc_mut_copy 

Source
pub unsafe extern "C" fn yyjson_mut_doc_mut_copy(
    doc: *mut yyjson_mut_doc,
    alc: *const yyjson_alc,
) -> *mut yyjson_mut_doc
Expand description

Copies and returns a new mutable document from input, returns NULL on error. This makes a deep-copy on the mutable document. If allocator is NULL, the default allocator will be used. @note mut_doc -> mut_doc.