Skip to content

cf_load_shared_library

Category: utility
GitHub: cute_symbol.h


Loads a shared library from disk and returns a pointer to the library.

CF_SharedLibrary* cf_load_shared_library(const char* path);
Parameters Description
path Path to the shared library in platform-dependent notation.

Return Value

Returns NULL in the case of errors, and can be unloaded by calling unload_shared_library.

Remarks

Does not use the virtual file system. Once loaded, individual functions can be loaded from the shared library be called cf_load_function. See Virtual File System.

cf_load_function
cf_unload_shared_library