pub unsafe extern "C" fn ditto_document_update( document: &mut Document, cbor: Ref<'_, u8>, create_path: bool) -> c_int