#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_profile_with_presentation_json(
profile: *const PamojaProfile,
presentation: *const c_char,
) -> *mut PamojaProfileExpand description
Returns a copy of a profile carrying a dashboard presentation.
§Arguments
profile- the profile.presentation- the JSON object a manifest carries underpresentation, as null-terminated UTF-8.
§Returns
A handle the caller must release with pamoja_profile_free, or null if
either pointer is null, the JSON is not a presentation, or the presentation holds
something the dashboard could not draw, such as a band whose low end comes second,
with the reason available from
pamoja_last_error_message.
§Safety
profile must be a live handle from a call that produced one, and
presentation must be a valid null-terminated UTF-8 string for the duration
of the call; either may be null.