Skip to main content

pamoja_profile_name

Function pamoja_profile_name 

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

Returns a profile’s stable name.

§Arguments

  • profile - the profile.

§Returns

A null-terminated UTF-8 string, which the caller must release with pamoja_string_free, or null if profile is null.

§Safety

profile must be a live handle from a call that produced one, or null.