Definition at line 154 of file table.c.
155{
156 int i, j = 0;
157 const void **array;
159 assert(table);
160 array = (
const void **)
getmem((2 * table->
length + 1) *
sizeof(*array));
161 for (i = 0; i < table->
size; i++)
163 {
164 array[j++] = (
const void *)
p->key;
165 array[j++] =
p->value;
166 }
168 return array;
169}
TermIterator< Nterm > end(Nterm *)
struct T::binding ** buckets
References T::buckets, end(), getmem(), T::length, p, T::size, and T.
Referenced by exponent_table_to_array().