37 size_t size = (list->
n_values + 1000) *
sizeof(
int);
int dig_boxlist_add(struct boxlist *list, int id, const struct bound_box *box)
int n_values
Number of items in the list.
int dig_init_boxlist(struct boxlist *list, int have_boxes)
struct bound_box * box
Array of bounding boxes.
int have_boxes
flag to indicate whether bounding boxes should be added
int alloc_values
Allocated space for items.
List of bounding boxes with id.