93 size_t index |
93 size_t index |
94 ) { |
94 ) { |
95 return list->climpl->remove(list, index); |
95 return list->climpl->remove(list, index); |
96 } |
96 } |
97 |
97 |
|
98 static int cx_pl_swap( |
|
99 struct cx_list_s *list, |
|
100 size_t i, |
|
101 size_t j |
|
102 ) { |
|
103 return list->climpl->swap(list, i, j); |
|
104 } |
|
105 |
98 static void *cx_pl_at( |
106 static void *cx_pl_at( |
99 struct cx_list_s const *list, |
107 struct cx_list_s const *list, |
100 size_t index |
108 size_t index |
101 ) { |
109 ) { |
102 void **ptr = list->climpl->at(list, index); |
110 void **ptr = list->climpl->at(list, index); |