#[unsafe(no_mangle)]pub unsafe extern "C" fn nstd_shared_lib_load(
path: &NSTDStr,
) -> NSTDOptionalSharedLibAvailable on crate feature
shared_lib only.Expand description
Dynamically loads a shared library at runtime.
§Parameters:
const NSTDStr *path- A path to the shared library.
§Returns
NSTDOptionalSharedLib lib - A handle to the dynamically loaded library, or none on error.
§Safety
-
path’s data must be valid for reads. -
The loaded library may have platform-specific initialization routines ran when it is loaded.