80 size_t size = (list->
n_values + 1000) *
sizeof(
int);
83 list->
value = (
int *)p;
int n_values
Number of values in the list.
void G_free(void *)
Free allocated memory.
void G_free_ilist(struct ilist *list)
Free allocated memory of an integer list.
int alloc_values
Allocated space for values.
void G_init_ilist(struct ilist *list)
Init an integer list and free allocated memory.
int * value
Array of values.
struct ilist * G_new_ilist()
Return a new integer list.
void G_ilist_add(struct ilist *list, int val)
Add item to ilist.