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

Function duplicate_rule

v2/engine/builtins.c:118–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116
117
118RULE * duplicate_rule( char const * name_, RULE * other )
119{
120 OBJECT * name = object_new( name_ );
121 RULE * result = import_rule( other, root_module(), name );
122 object_free( name );
123 return result;
124}
125
126
127/*

Callers 1

load_builtinsFunction · 0.85

Calls 4

object_newFunction · 0.85
import_ruleFunction · 0.85
root_moduleFunction · 0.85
object_freeFunction · 0.85

Tested by

no test coverage detected