Type Definition eccodes_sys::grib_free_proc[][src]

type grib_free_proc = Option<unsafe extern "C" fn(c: *const grib_context, data: *mut c_void)>;
Expand description

\defgroup context The context object The context is a long life configuration object of the grib_api. It is used to define special allocation and free routines or to set special grib_api behaviours and variables. Grib free procedure, format of a procedure referenced in the context that is used to free memory

@param c : the context where the memory freeing will apply @param data : pointer to the data to be freed must match @see grib_malloc_proc