| 204 * @param index the index where to insert the data |
204 * @param index the index where to insert the data |
| 205 * @param data a pointer to the array of data to insert |
205 * @param data a pointer to the array of data to insert |
| 206 * @param n the number of elements to insert |
206 * @param n the number of elements to insert |
| 207 * @return the number of elements actually inserted |
207 * @return the number of elements actually inserted |
| 208 */ |
208 */ |
| 209 cx_attr_nonnull |
209 cx_attr_nonnull_arg(1) |
| 210 CX_EXPORT size_t cx_list_default_insert_array(struct cx_list_s *list, |
210 CX_EXPORT size_t cx_list_default_insert_array(struct cx_list_s *list, |
| 211 size_t index, const void *data, size_t n); |
211 size_t index, const void *data, size_t n); |
| 212 |
212 |
| 213 /** |
213 /** |
| 214 * Default implementation of a sorted insert. |
214 * Default implementation of a sorted insert. |