Function eccodes_sys::grib_multi_handle_append[][src]

pub unsafe extern "C" fn grib_multi_handle_append(
    h: *mut grib_handle,
    start_section: c_int,
    mh: *mut grib_multi_handle
) -> c_int
Expand description

Append the sections starting with start_section of the message pointed by h at the end of the multi-field handle mh. Remember always to delete the multi handle when it is not needed anymore to avoid memory leaks.

@param h : The handle from which the sections are copied. @param start_section : section number. Starting from this section all the sections to the end of the message will be copied. @param mh : The multi field handle on which the sections are appended. @return 0 if OK, integer value on error