| 337 | |
| 338 | |
| 339 | int list_in( LIST * l, OBJECT * value ) |
| 340 | { |
| 341 | LISTITER iter = list_begin( l ); |
| 342 | LISTITER end = list_end( l ); |
| 343 | for ( ; iter != end; iter = list_next( iter ) ) |
| 344 | if ( object_equal( list_item( iter ), value ) ) |
| 345 | return 1; |
| 346 | return 0; |
| 347 | } |
| 348 | |
| 349 | |
| 350 | LIST * list_unique( LIST * sorted_list ) |
no test coverage detected