logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

qb_array_create_2 - Create an array with fixed sized elements.

Description

Name

       qb_array_create_2 - Create an array with fixed sized elements.

Params

max_elementsinitialmaxelementselement_sizesizeofeachelementautogrow_elementsthenumberofelementstogrowautomaticallyby.

Return Value

       array instance

See Also

qb_array_elems_per_bin_get(3), qb_array_new_bin_cb_set(3), qb_array_create(3), qb_array_grow(3),
       qb_array_num_bins_get(3), qb_array_index(3), qb_array_free(3)

Synopsis

#include<qb/qbarray.h>qb_array_t*qb_array_create_2(
           size_tmax_elements,       /* initial max elements */
           size_telement_size,       /* size of each element */
           size_tautogrow_elements   /* the number of elements to grow automatically by. */
       );

See Also