Skip to main content

tx_new_unknown

Function tx_new_unknown 

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

Creates a new “unknown” node.

§Safety

  • doc must be a valid, non-null pointer to a TxDocument.
  • text must be a valid, non-null pointer to a null-terminated UTF-8 string.