Type Definition eccodes_sys::grib_malloc_proc[][src]

type grib_malloc_proc = Option<unsafe extern "C" fn(c: *const grib_context, length: size_t) -> *mut c_void>;
Expand description

Grib malloc procedure, format of a procedure referenced in the context that is used to allocate memory @param c : the context where the memory allocation will apply @param length : length to be allocated in number of bytes @return a pointer to the allocated memory, NULL if no memory can be allocated must match @see grib_free_proc