Skip to main content

tx_document_load_file

Function tx_document_load_file 

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

Loads and parses an XML file.

ยงSafety

  • doc must be a valid, non-null pointer to a TxDocument.
  • path must be a valid, non-null pointer to a null-terminated UTF-8 C string containing a filesystem path.