MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ load_library()

MAYAFLUX_HOST_API Result< std::filesystem::path > MayaFlux::Host::load_library ( const std::filesystem::path & path)

Load a shared library from an explicit file path.

Loading the same file twice is a no-op. Before start_session the load is staged and performed at start.

Parameters
pathPath to the library, absolute or relative to the working directory.
Returns
The canonical path, or the reason it was refused or failed to load.

Definition at line 70 of file Dependencies.cpp.

71{
72 return load_acquired(Platform::acquire_library(Platform::LibraryFromPath { path }));
73}
Acquired< LibraryLocation > acquire_library(const LibrarySource &source)
Resolve a library request to a location the loader can open.
A shared library at an explicit file path, absolute or relative to the working directory.

References MayaFlux::Platform::acquire_library().

Here is the call graph for this function: