Function rcutils_has_symbol

Function Documentation

bool rcutils_has_symbol(const rcutils_shared_library_t *lib, const char *symbol_name)

Return true if the shared library contains a specific symbol name otherwise returns false.

Parameters:
  • lib[in] struct with the shared library pointer and shared library path name

  • symbol_name[in] name of the symbol inside the shared library

Returns:

true if the symbol exists, or

Returns:

false otherwise.