#[unsafe(no_mangle)]pub unsafe extern "C" fn tx_int_attribute(
doc: *const TxDocument,
el: TxNodeId,
name: *const c_char,
default_val: c_int,
) -> c_intExpand description
Returns an integer attribute value, or default_val if the attribute
does not exist or cannot be parsed.
ยงSafety
docmust be a valid, non-null pointer to aTxDocument.namemust be a valid, non-null pointer to a null-terminated UTF-8 string.