19 for (
int a = 0; a < paths_num; a++) {
29 fprintf(stderr,
"Unable to find '%s'\n", paths[paths_num - 1]);
41 if (symbol_var ==
NULL) {
43 fprintf(stderr,
"Unable to find '%s' in '%s'.\n", symbol, path_lib);
static DynamicLibrary lib
DynamicLibrary dynamic_library_open_array_with_error(const char **paths, const int paths_num, const bool verbose, int *r_path_index)
void * dynamic_library_find_with_error(DynamicLibrary lib, const char *symbol, const char *path_lib, const bool verbose)
#define dynamic_library_find(lib, symbol)
#define dynamic_library_open(path)