Function pineappl_capi::pineappl_grid_set_key_value[][src]

#[no_mangle]pub unsafe extern "C" fn pineappl_grid_set_key_value(
    grid: *mut Grid,
    key: *const c_char,
    value: *const c_char
)

Sets an internal key-value pair for the grid.

Safety

If grid does not point to a valid Grid object, for example when grid is the null pointer, this function is not safe to call. The parameters key and value must be non-NULL and valid C strings.