MCPcopy Create free account
hub / github.com/boostorg/build / list_in

Function list_in

v2/engine/lists.c:339–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337
338
339int 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
350LIST * list_unique( LIST * sorted_list )

Callers 2

list_is_sublistFunction · 0.85
set_differenceFunction · 0.85

Calls 3

list_beginFunction · 0.85
list_endFunction · 0.85
object_equalFunction · 0.85

Tested by

no test coverage detected