#[unsafe(no_mangle)]pub unsafe extern "C" fn openbim_ifc_v0_1_convert_unit(
value: f64,
from: *const u8,
from_len: usize,
to: *const u8,
to_len: usize,
out_value: *mut f64,
) -> OpenbimIfcStatusExpand description
Convert value from the unit named from (from_len UTF-8 bytes) to
the unit named to, written to out_value. Needs no model.
InvalidValue for text that names no unit; TypeMismatch for units of
different dimensions; Unsupported for a unit with an offset (degree
Fahrenheit, #110); InvalidArgument for text that is not UTF-8.
ยงSafety
from and to valid for their lengths; out_value valid for one
write.