Skip to main content

sioul_colour_profile_name

Function sioul_colour_profile_name 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn sioul_colour_profile_name( profile: *const u8, length: usize, out: *mut u8, capacity: usize, ) -> usize
Expand description

The profile’s name, written to out as UTF-8 with a final zero, cut to capacity; returns its length in bytes without the zero (0: no name).

§Safety

profile holds length bytes; out has room for capacity bytes.