| 178 | */ |
| 179 | |
| 180 | LIST * list_sublist( LIST * l, int start, int count ) |
| 181 | { |
| 182 | int end = start + count; |
| 183 | int size = list_length( l ); |
| 184 | if ( start >= size ) return L0; |
| 185 | if ( end > size ) end = size; |
| 186 | return list_copy_range( l, list_begin( l ) + start, list_begin( l ) + end ); |
| 187 | } |
| 188 | |
| 189 | |
| 190 | static int str_ptr_compare( void const * va, void const * vb ) |
no test coverage detected