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

Function module_bind_variables

src/engine/modules.cpp:353–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351
352
353void module_bind_variables( struct module_t * m )
354{
355 if ( m != root_module() && m->rules )
356 {
357 struct bind_vars_t data;
358 data.module = m;
359 data.counter = m->num_fixed_variables;
360 hashenumerate( m->rules, &bind_variables_for_rule, &data );
361 module_set_fixed_variables( m, data.counter );
362 }
363}
364
365
366int module_add_fixed_var( struct module_t * m, OBJECT * name, int * counter )

Callers 1

function_runFunction · 0.85

Calls 3

root_moduleFunction · 0.85
hashenumerateFunction · 0.85

Tested by

no test coverage detected