| 8 | } |
| 9 | |
| 10 | void* BT::SharedLibrary::getSymbol(const std::string& name) |
| 11 | { |
| 12 | void* result = findSymbol(name); |
| 13 | if(result != nullptr) |
| 14 | { |
| 15 | return result; |
| 16 | } |
| 17 | throw RuntimeError("[SharedLibrary::getSymbol]: can't find symbol ", name); |
| 18 | } |
| 19 | |
| 20 | bool BT::SharedLibrary::hasSymbol(const std::string& name) |
| 21 | { |
no test coverage detected