Function CSTL_vector_insert_n

Source
pub unsafe extern "C" fn CSTL_vector_insert_n(
    instance: CSTL_VectorRef,
    copy: CSTL_CopyTypeCRef,
    where_: CSTL_VectorIter,
    count: usize,
    value: *const c_void,
    alloc: *mut CSTL_Alloc,
) -> CSTL_VectorIter
Expand description

Inserts count copies of value into the vector before where and returns an iterator to the first newly inserted element.

If count > CSTL_vector_max_size(...) - CSTL_vector_size(instance, ...) (vector too long) this function has no effect and returns CSTL_vector_end(instance, ...).