| 1027 | } |
| 1028 | |
| 1029 | Module * ModuleLibrary::findModule ( const string & mn ) const { |
| 1030 | auto hash = hash64z(mn.c_str()); |
| 1031 | auto it = moduleLookupByHash.find(hash); |
| 1032 | return it != moduleLookupByHash.end() ? it->second : nullptr; |
| 1033 | } |
| 1034 | |
| 1035 | void ModuleLibrary::findWithCallback ( const string & name, Module * inWhichModule, const callable<void (Module * pm, const string &name, Module * inWhichModule)> & func ) const { |
| 1036 | string moduleName, funcName; |
no test coverage detected