#include <container.h>
Data Fields | |
void ** | list |
int | num_used |
int | capacity |
The members of this struct are exposed only so that macros and inlines can use them; all access to smartlist internals should go through the functions and macros defined here.
void** smartlist_t::list |
list has enough capacity to store exactly capacity elements before it needs to be resized. Only the first num_used (<= capacity) elements point to valid data.
Referenced by smartlist_add(), smartlist_add_all(), smartlist_bsearch_idx(), smartlist_create(), smartlist_del(), smartlist_del_keeporder(), smartlist_digest_isin(), smartlist_ensure_capacity(), smartlist_free(), smartlist_get_most_frequent(), smartlist_heapify(), smartlist_insert(), smartlist_intersect(), smartlist_isin(), smartlist_join_strings2(), smartlist_overlap(), smartlist_pop_last(), smartlist_pqueue_add(), smartlist_pqueue_assert_ok(), smartlist_pqueue_pop(), smartlist_pqueue_remove(), smartlist_remove(), smartlist_reverse(), smartlist_sort(), smartlist_string_isin(), smartlist_string_isin_case(), smartlist_string_pos(), smartlist_string_remove(), smartlist_subtract(), and smartlist_uniq().