23 # define OF_RTLD_LAZY RTLD_LAZY 24 # define OF_RTLD_NOW RTLD_NOW 25 typedef void *of_plugin_handle_t;
28 # define OF_RTLD_LAZY 0 29 # define OF_RTLD_NOW 0 30 typedef HMODULE of_plugin_handle_t;
33 OF_ASSUME_NONNULL_BEGIN
42 of_plugin_handle_t _handle;
57 extern of_plugin_handle_t of_dlopen(
OFString *path,
int flags);
58 extern void *of_dlsym(of_plugin_handle_t handle,
const char *symbol);
59 extern void of_dlclose(of_plugin_handle_t handle);
A class for handling strings.
Definition: OFString.h:114
Provides a system for loading plugins at runtime.
Definition: OFPlugin.h:40
The root class for all other classes inside ObjFW.
Definition: OFObject.h:379