| 351 | |
| 352 | |
| 353 | void 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 | |
| 366 | int module_add_fixed_var( struct module_t * m, OBJECT * name, int * counter ) |
no test coverage detected