MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / getSymbol

Method getSymbol

src/shared_library.cpp:10–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8}
9
10void* 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
20bool BT::SharedLibrary::hasSymbol(const std::string& name)
21{

Callers 1

registerFromPluginMethod · 0.80

Calls 1

RuntimeErrorClass · 0.85

Tested by

no test coverage detected