pub unsafe extern "C" fn heif_image_get_decoding_warnings(
    image: *mut heif_image,
    first_warning_idx: c_int,
    out_warnings: *mut heif_error,
    max_output_buffer_entries: c_int
) -> c_int
Expand description

Fills the image decoding warnings into the provided ‘out_warnings’ array. The size of the array has to be provided in max_output_buffer_entries. If max_output_buffer_entries==0, the number of decoder warnings is returned. The function fills the warnings into the provided buffer, starting with ‘first_warning_idx’. It returns the number of warnings filled into the buffer. Note: you can iterate through all warnings by using ‘max_output_buffer_entries=1’ and iterate ‘first_warning_idx’.