Scroll to navigation

QBARRAY.H(3) libqb Programmer's Manual QBARRAY.H(3)

NAME

qbarray.h - This is a dynamic array (it can grow, but without moving memory).

SYNOPSIS

#include <qb/qbarray.h>

DESCRIPTION

Currently, this dynamic array abstract data type can accommodate only 2^ elements, and with standard zero-based indexing, this gives a valid index range [0, ), where the notation denotes the beginning of the interval is included and the end is excluded. In other words, client space shall avoid a pitfall of relying solely on the type of parameter to qb_array_create and/or of parameter to qb_array_index (these types conflict, anyway).

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_create_2(3), qb_array_free(3)

COPYRIGHT

Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.
2020-10-31 LIBQB