Skip to main content

tx_parent

Function tx_parent 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn tx_parent( doc: *const TxDocument, node: TxNodeId, ) -> TxNodeId
Expand description

Returns the parent of the given node, or TX_NULL_NODE if none.

ยงSafety

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