Function eccodes_sys::codes_grib_multi_handle_append[][src]

pub unsafe extern "C" fn codes_grib_multi_handle_append(
    h: *mut codes_handle,
    start_section: c_int,
    mh: *mut codes_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 GRIB handle mh. This is only applicable to GRIB edition 2. Remember always to delete the multi-handle when it is not needed any more 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