Function CSTL_vector_copy_push_back

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

Appends a copy of value to the end of the vector.

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