Blender  V3.3
Functions
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)
 
voiddynamic_library_find_with_error (DynamicLibrary lib, const char *symbol, const char *path_lib)
 

Function Documentation

◆ dynamic_library_find_with_error()

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

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

Definition at line 33 of file wayland_dynload_utils.c.

References dynamic_library_find, lib, and NULL.

◆ 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 11 of file wayland_dynload_utils.c.

References Freestyle::a, 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().