#[no_mangle]
pub unsafe extern "C" fn pineappl_grid_clone(
    grid: *const Grid
) -> Box<Grid>
Expand description

Returns a cloned object of 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.