| 593 | } |
| 594 | |
| 595 | vector<SimFunction *> Context::findFunctions ( const char * fnname ) const { |
| 596 | vector<SimFunction *> res; |
| 597 | for ( auto & kv : *tabMnLookup ) { |
| 598 | auto fn = kv.second; |
| 599 | if ( fn!=nullptr && strcmp(fn->name, fnname)==0 ) { |
| 600 | res.push_back(fn); |
| 601 | } |
| 602 | } |
| 603 | return res; |
| 604 | } |
| 605 | |
| 606 | SimFunction * Context::findFunction ( const char * fnname ) const { |
| 607 | for ( auto & kv : *tabMnLookup ) { |
no test coverage detected