libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
Go to the source code of this file.
Typedefs | |
typedef GblBool(* | GblLibraryIterFn) (GblLibrary *pSelf, void *pClosure) |
Functions | |
Static API | |
Methods for search paths and iteration | |
const GblStringList * | GblLibrary_searchPaths (void) |
void | GblLibrary_addSearchPath (const char *pPath) |
size_t | GblLibrary_count (void) |
GblLibrary * | GblLibrary_at (size_t index) |
GblBool | GblLibrary_foreach (GblLibraryIterFn pFnIt, void *pCl) |
GblLibrary, dynamically linked library management.
Definition in file gimbal_library.h.
typedef GblBool(* GblLibraryIterFn) (GblLibrary *pSelf, void *pClosure) |
Iterator function for use with GblLibrary_foreach(), exits early when GBL_TRUE is returned.
Definition at line 32 of file gimbal_library.h.
const GblStringList * GblLibrary_searchPaths | ( | void | ) |
Returns the list of paths which are searched when attempting to load a library by name with GblLibrary_open()
void GblLibrary_addSearchPath | ( | const char * | pPath | ) |
Adds pPath
to the list of paths to search when loading a library by name with GblLibrary_open()
size_t GblLibrary_count | ( | void | ) |
Returns the total number of open dynamic libraries.
GblLibrary * GblLibrary_at | ( | size_t | index | ) |
Returns the open dynamic library at the given index
.
GblBool GblLibrary_foreach | ( | GblLibraryIterFn | pFnIt, |
void * | pCl | ||
) |
Iterates over each open dynamic library, calling pFnInit
with the given userdata.