| 2602 | } |
| 2603 | |
| 2604 | static int using_id_cmp(const void *a, const void *b) { |
| 2605 | const cs_using_id_t *x = (const cs_using_id_t *)a; |
| 2606 | const cs_using_id_t *y = (const cs_using_id_t *)b; |
| 2607 | cs_index_work(SKIP_ONE); |
| 2608 | if (x->scope != y->scope) { |
| 2609 | return (x->scope > y->scope) - (x->scope < y->scope); |
| 2610 | } |
| 2611 | return (x->id > y->id) - (x->id < y->id); |
| 2612 | } |
| 2613 | |
| 2614 | static int name_scope_cmp(const void *a, const void *b) { |
| 2615 | const cs_name_scope_t *x = (const cs_name_scope_t *)a; |
nothing calls this directly
no test coverage detected