#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_profile_reads_unit(
profile: *const PamojaProfile,
) -> *mut PamojaStringExpand description
Returns the unit a profile’s numbers are in, such as celsius.
§Arguments
profile- the profile.
§Returns
A null-terminated UTF-8 string, which the caller must release with
pamoja_string_free, or null if the profile does not
say what it reads or profile is null. The two cases are told apart by
pamoja_last_error_message, which is set only
for a null handle.
§Safety
profile must be a live handle from a call that produced one, or null.