Skip to main content

tx_printer_result

Function tx_printer_result 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn tx_printer_result( printer: *mut TxPrinter, ) -> *const c_char
Expand description

Returns the accumulated printer output as a C string.

The returned pointer is valid until the printer is modified or freed.

ยงSafety

printer must be a valid, non-null pointer to a TxPrinter.