Skip to main content

tx_printer_push_attribute

Function tx_printer_push_attribute 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn tx_printer_push_attribute( printer: *mut TxPrinter, name: *const c_char, value: *const c_char, )
Expand description

Pushes an attribute onto the currently open element.

ยงSafety

  • printer must be a valid, non-null pointer to a TxPrinter.
  • name and value must be valid, non-null pointers to null-terminated UTF-8 strings.