libcmutils 0.6.5
Multi-platform C99 utility library
Loading...
Searching...
No Matches
Dynamic library loading.

Data Structures

struct  CMUTIL_Library
 Dynamic library loader. More...
 

Functions

CMUTIL_LibraryCMUTIL_LibraryCreate (const char *path)
 Create a dynamic library loader for the specified library path.
 

Detailed Description

Function Documentation

◆ CMUTIL_LibraryCreate()

CMUTIL_Library * CMUTIL_LibraryCreate ( const char *  path)

Create a dynamic library loader for the specified library path.

This function loads a dynamic library from the specified file path and returns a CMUTIL_Library object that can be used to access functions within the library.

Parameters
pathThe file path to the dynamic library to load. The file extension can be excluded.
Returns
A pointer to the newly created CMUTIL_Library object, or NULL on failure.