50
50
* num_slots is the size of the layout array and hardware limit instead.
54
54
void util_semantic_layout_from_set(unsigned char *layout, const struct util_semantic_set *set, unsigned efficient_slots, unsigned num_slots);
57
util_semantic_table_from_layout(unsigned char *table, unsigned char *layout, unsigned char first_slot_value, unsigned char num_slots)
57
util_semantic_table_from_layout(unsigned char *table, size_t table_size, unsigned char *layout,
62
63
for(i = 0; i < num_slots; ++i)
63
64
table[layout[i]] = first_slot_value + i;