CSTL_vector_resize

Function CSTL_vector_resize 

Source
pub unsafe extern "C" fn CSTL_vector_resize(
    instance: CSTL_VectorRef,
    type_: CSTL_Type,
    copy: CSTL_CopyTypeCRef,
    new_size: usize,
    value: *const c_void,
    alloc: *mut CSTL_Alloc,
) -> bool
Expand description

Resizes the vector to contain new_size elements.

If new_size > CSTL_vector_max_size(type) (vector too long) this function has no effect and returns false, otherwise it returns true.