Template Function TRAP::Utils::DynamicLoading::GetLibrarySymbol#

Function Documentation#

template<typename T>
inline T TRAP::Utils::DynamicLoading::GetLibrarySymbol(void *module, std::string_view name)#

Gets a function pointer from a dynamic library.

Parameters:
  • module – Pointer to the library.

  • name – Name of the function.

Returns:

Pointer to the function.