pub unsafe extern "C" fn ditto_document_replace_with_counter( document: &mut Document, pointer: Ref<'_>) -> c_int