Function lcms2_sys::ffi::cmsPipelineCheckAndRetreiveStages[][src]

pub unsafe extern "C" fn cmsPipelineCheckAndRetreiveStages(
    Lut: *const Pipeline,
    n: u32,
     ...
) -> Bool
Expand description

This function is quite useful to analyze the structure of a Pipeline and retrieve the Stage elements that conform the Pipeline.

It should be called with the Pipeline, the number of expected elements and then a list of expected types followed with a list of double pointers to Stage elements. If the function founds a match with current pipeline, it fills the pointers and returns TRUE if not, returns FALSE without touching anything.