[−][src]Function cmark_gfm_sys::cmark_node_replace
pub unsafe extern "C" fn cmark_node_replace(
oldnode: *mut cmark_node,
newnode: *mut cmark_node
) -> c_int
Replaces 'oldnode' with 'newnode' and unlinks 'oldnode' (but does not free its memory). Returns 1 on success, 0 on failure.