Skip to main content

tx_document_clear

Function tx_document_clear 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn tx_document_clear(doc: *mut TxDocument)
Expand description

Clears the document, removing all nodes and resetting to an empty state.

ยงSafety

doc must be a valid, non-null pointer to a TxDocument.