Function yrs::yxmlelem_get_attr
source ยท #[no_mangle]
pub unsafe extern "C" fn yxmlelem_get_attr(
xml: *const Branch,
txn: *const Transaction,
attr_name: *const c_char,
) -> *mut c_char
Expand description
Returns the value of a current YXmlElement
, given its name, or a null pointer if not attribute
with such name has been found. Returned pointer is a null-terminated UTF-8 encoded string, which
should be released using ystring_destroy function.
An attr_name
must be a null-terminated UTF-8 encoded string.