Function pineappl_capi::pineappl_keyval_set_int[][src]

#[no_mangle]pub unsafe extern "C" fn pineappl_keyval_set_int(
    key_vals: *mut KeyVal,
    key: *const c_char,
    value: i32
)

Set the int-valued parameter with name key to value in key_vals.

Safety

The parameter key_vals must point to a valid KeyVal object created by pineappl_keyval_new. key must be a valid C string.