Blender V4.3
wayland_dynload_utils.c File Reference
#include <stdio.h>
#include "wayland_dynload_utils.h"

Go to the source code of this file.

Functions

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)
 

Function Documentation

◆ dynamic_library_find_with_error()

void * dynamic_library_find_with_error ( DynamicLibrary lib,
const char * symbol,
const char * path_lib,
bool verbose )

Find a symbol, printing an error when the symbol isn't found.

Definition at line 35 of file wayland_dynload_utils.c.

References dynamic_library_find, lib, NULL, and verbose.

◆ dynamic_library_open_array_with_error()

DynamicLibrary dynamic_library_open_array_with_error ( const char ** paths,
int paths_num,
bool verbose,
int * r_path_index )

Loads a library from an array, printing an error when the symbol isn't found.

Definition at line 13 of file wayland_dynload_utils.c.

References dynamic_library_open, lib, NULL, and verbose.

Referenced by wayland_dynload_client_init(), wayland_dynload_cursor_init(), wayland_dynload_egl_init(), and wayland_dynload_libdecor_init().