Function pineappl_capi::pineappl_grid_ext[][src]

#[no_mangle]
#[must_use]pub unsafe extern "C" fn pineappl_grid_ext(
    grid: *mut Grid,
    name: *const c_char,
    _key_vals: *mut KeyVal
) -> bool

Performs an operation name on grid using as input or output parameters key_vals. This is used to get access to functions that are otherwise not available through other functions. If the operation was successful, returns true. Otherwise, or if the name wasn’t recognized false is returned. The parameter _key_vals is currently ignored.

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 parameter name must be a valid and non-NULL C string.