26 const char *paths[] = {
30 const int paths_num =
sizeof(paths) /
sizeof(*paths);
39#define WAYLAND_DYNLOAD_FN(symbol) \
40 if (!(wayland_dynload_libdecor.symbol = dynamic_library_find_with_error( \
41 lib, #symbol, paths[path_index], verbose))) \
46#undef WAYLAND_DYNLOAD_FN
60#pragma GCC diagnostic push
61#pragma GCC diagnostic ignored "-Wredundant-decls"
62#define WAYLAND_DYNLOAD_VALIDATE
64#pragma GCC diagnostic pop
bool wayland_dynload_libdecor_init(const bool verbose)
struct WaylandDynload_Libdecor wayland_dynload_libdecor
void wayland_dynload_libdecor_exit(void)
static DynamicLibrary lib
DynamicLibrary dynamic_library_open_array_with_error(const char **paths, const int paths_num, const bool verbose, int *r_path_index)
#define dynamic_library_close(lib)