#[unsafe(no_mangle)]pub extern "C" fn pd_delete_comment(
doc_ptr: *const u8,
doc_len: u32,
id_ptr: *const u8,
id_len: u32,
) -> u64Expand description
Delete a comment by id (the id arrives as a plain UTF-8 string, not JSON). Returns the updated document; deleting a missing id is not an error.