Skip to main content

tx_query_double_attribute

Function tx_query_double_attribute 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn tx_query_double_attribute( doc: *const TxDocument, el: TxNodeId, name: *const c_char, value: *mut c_double, ) -> TxError
Expand description

Queries a double (f64) attribute value.

On success, writes the value to *value and returns TxSuccess.

ยงSafety

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