sortlocon - sort the logical connectors of a figure by name
See the file man1/alc_origin.1.
- Pointer to the head of the connector list that is to be sorted
sorts the list of logical connectors pointed to by
. The connectors are sorted by names, using a
numerical comparison function that ensures x_12 > x_2
The standart qsort
(3) function library is called for sorting. Therefore,
a table the number of connectors wide is created. This is not very memory
consuming since the number of connectors in a circuit interface is quite
small, nor very time consuming since this algorithm runs in a n log n time.
lofig_list ∗figure = getlocon(figname, 'A');
See the file man1/alc_bug_report.1.