97 ) { |
97 ) { |
98 struct cx_list_s *list = iter->src_handle.m; |
98 struct cx_list_s *list = iter->src_handle.m; |
99 return list->climpl->insert_iter(iter, &elem, prepend); |
99 return list->climpl->insert_iter(iter, &elem, prepend); |
100 } |
100 } |
101 |
101 |
102 static int cx_pl_remove( |
102 static size_t cx_pl_remove( |
103 struct cx_list_s *list, |
103 struct cx_list_s *list, |
104 size_t index |
104 size_t index, |
105 ) { |
105 size_t num, |
106 return list->climpl->remove(list, index); |
106 void *targetbuf |
|
107 ) { |
|
108 return list->climpl->remove(list, index, num, targetbuf); |
107 } |
109 } |
108 |
110 |
109 static void cx_pl_clear(struct cx_list_s *list) { |
111 static void cx_pl_clear(struct cx_list_s *list) { |
110 list->climpl->clear(list); |
112 list->climpl->clear(list); |
111 } |
113 } |