[][src]Function sentry_contrib_native_sys::value_set_by_index

pub unsafe extern "C" fn value_set_by_index(
    value: Value,
    index: usize,
    v: Value
) -> c_int

Inserts a value into the list at a certain position.

This moves the ownership of the value into the list. The caller does not have to call sentry_value_decref on it.

If the list is shorter than the given index it's automatically extended and filled with null values.