Blender V5.0
wayland_dynload_client.c File Reference
#include <stdlib.h>
#include <string.h>
#include "wayland_dynload_API.h"
#include "wayland_dynload_utils.h"
#include "wayland_dynload_client.h"

Go to the source code of this file.

Macros

#define WAYLAND_DYNLOAD_IFACE(symbol)
#define WAYLAND_DYNLOAD_IFACE(symbol)
#define WAYLAND_DYNLOAD_FN(symbol)
#define WAYLAND_DYNLOAD_VALIDATE

Functions

void wayland_dynload_client_exit (void)

Variables

struct WaylandDynload_Client wayland_dynload_client = {NULL}
static DynamicLibrary lib = NULL

Detailed Description

Wrapper functions for <wayland-client.h>.

Definition in file wayland_dynload_client.c.

Macro Definition Documentation

◆ WAYLAND_DYNLOAD_FN

#define WAYLAND_DYNLOAD_FN ( symbol)
Value:
lib, #symbol, paths[path_found], verbose))) \
{ \
return false; \
}
static int verbose
Definition cineonlib.cc:30
static DynamicLibrary lib
struct WaylandDynload_Client wayland_dynload_client
void * dynamic_library_find_with_error(DynamicLibrary lib, const char *symbol, const char *path_lib, const bool verbose)

◆ WAYLAND_DYNLOAD_IFACE [1/2]

#define WAYLAND_DYNLOAD_IFACE ( symbol)
Value:
{ \
const void *symbol_val; \
if (!(symbol_val = dynamic_library_find_with_error( \
lib, #symbol, paths[path_found], verbose))) { \
return false; \
} \
memcpy(&symbol, symbol_val, sizeof(symbol)); \
}

Definition at line 24 of file wayland_dynload_client.c.

◆ WAYLAND_DYNLOAD_IFACE [2/2]

#define WAYLAND_DYNLOAD_IFACE ( symbol)
Value:
extern struct wl_interface symbol; \
struct wl_interface symbol;

Definition at line 24 of file wayland_dynload_client.c.

◆ WAYLAND_DYNLOAD_VALIDATE

#define WAYLAND_DYNLOAD_VALIDATE

Definition at line 81 of file wayland_dynload_client.c.

Function Documentation

◆ wayland_dynload_client_exit()

void wayland_dynload_client_exit ( void )

Definition at line 70 of file wayland_dynload_client.c.

References dynamic_library_close, and lib.

Variable Documentation

◆ lib

DynamicLibrary lib = NULL
static

Definition at line 22 of file wayland_dynload_client.c.

Referenced by blender::bke::tests::add_id_in_library(), AS_asset_library_load_from_directory(), blender::ed::asset::asset_bundle_install_exec(), blender::bke::asset_edit_id_delete(), blender::bke::asset_edit_id_ensure_local(), blender::bke::asset_edit_id_find_local(), blender::bke::asset_edit_id_is_editable(), blender::bke::asset_edit_id_save(), blender::bke::asset_edit_weak_reference_from_id(), BKE_blendfile_link(), BKE_id_new_name_validate(), BKE_libblock_find_name(), BKE_library_filepath_set(), BKE_library_make_local(), BKE_main_idmap_lookup_name(), BKE_main_idmap_lookup_name(), BKE_main_namemap_contain_name(), BKE_main_namemap_remove_id(), BKE_modifiers_persistent_uid_init(), BKE_packedfile_pack_all_libraries(), BKE_packedfile_unpack_all_libraries(), blf_cache_face_requester(), blo_add_main_for_library(), blo_bhead_prev(), blo_do_versions_pre250(), BLO_library_link_end(), blo_read_file_internal(), blo_split_main(), blender::ed::outliner::TreeDisplayLibraries::build_tree(), blender::ed::outliner::TreeDisplayOverrideLibraryHierarchies::build_tree(), blender::bke::tests::change_lib(), blender::bke::create_auto_smooth_modifier(), direct_link_library(), do_versions(), dynamic_library_find_with_error(), dynamic_library_open_array_with_error(), expand_doit_library(), fix_relpaths_library(), blender::asset_system::AssetLibraryService::get_asset_library_current_file(), blender::asset_system::AssetLibraryService::get_asset_library_on_disk(), get_namemap_for(), get_stable_pointer_hint_for_id(), blender::ed::outliner::id_delete_tag(), blender::ed::asset::is_contained_in_selected_asset_library(), blender::ed::outliner::lib_relocate(), library_blend_read_after_liblink(), library_blend_read_data(), library_filedata_release(), library_foreach_id(), library_foreach_path(), library_parent_filepath(), library_runtime_reset(), blender::bke::library::main_cleanup_parent_archives(), main_namemap_validate_and_fix(), blender::ed::outliner::namebutton_fn(), namemap_get_name(), blender::ed::object::object_select_all_by_library(), blender::ed::object::object_select_all_by_library_obdata(), ptcache_path(), pyrna_prop_collection_subscript_str_lib_pair_ptr(), read_id_in_lib(), read_libblock_undo_restore_at_old_address(), read_libblock_undo_restore_identical(), rebuild_hierarchy_best_parent_find(), reuse_bmain_move_id(), reuse_editable_asset_needed(), blender::ed::asset::selected_asset_library(), blender::ed::asset::set_filepath_for_asset_lib(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::asset_system::tests::TEST_F(), blender::ed::asset::visit_library_catalogs_catalog_for_search(), wayland_dynload_client_exit(), wayland_dynload_cursor_exit(), wayland_dynload_egl_exit(), wayland_dynload_libdecor_exit(), WM_lib_reload(), wm_lib_relocate_exec_do(), wm_lib_relocate_invoke(), and blender::bke::blendfile::PartialWriteContext::write().

◆ wayland_dynload_client

struct WaylandDynload_Client wayland_dynload_client = {NULL}

Definition at line 20 of file wayland_dynload_client.c.