Skip to main content

pamoja_profile_description

Function pamoja_profile_description 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_profile_description( profile: *const PamojaProfile, ) -> *mut PamojaString
Expand description

Returns what a profile is for, in the words its manifest carries.

§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 carries no description 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.