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

Function global_rule

v2/engine/rules.c:566–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

564 */
565
566static RULE * global_rule( RULE * r )
567{
568 if ( r->module == root_module() )
569 return r;
570
571 {
572 OBJECT * const name = global_rule_name( r );
573 RULE * const result = define_rule( r->module, name, root_module() );
574 object_free( name );
575 return result;
576 }
577}
578
579
580/*

Callers 1

new_rule_actionsFunction · 0.85

Calls 4

root_moduleFunction · 0.85
global_rule_nameFunction · 0.85
define_ruleFunction · 0.85
object_freeFunction · 0.85

Tested by

no test coverage detected