Skip to main content

tx_first_child

Function tx_first_child 

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

Returns the first child of the given node, or TX_NULL_NODE if none.

ยงSafety

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