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

Function check_defined

v2/engine/class.c:26–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25
26static void check_defined( LIST * class_names )
27{
28 LISTITER iter = list_begin( class_names );
29 LISTITER const end = list_end( class_names );
30 for ( ; iter != end; iter = list_next( iter ) )
31 {
32 if ( !hash_find( classes, list_item( iter ) ) )
33 {
34 printf( "Class %s is not defined\n", object_str( list_item( iter ) )
35 );
36 abort();
37 }
38 }
39}
40
41
42static OBJECT * class_module_name( OBJECT * declared_name )

Callers 1

make_class_moduleFunction · 0.85

Calls 4

list_beginFunction · 0.85
list_endFunction · 0.85
hash_findFunction · 0.85
object_strFunction · 0.85

Tested by

no test coverage detected