Differences From Artifact [1957f73e8b]:
- File
src/OFPlugin.h
— part of check-in
[2a27cf3000]
at
2016-01-03 00:41:26
on branch trunk
— Update copyright
While at it, also update the mail address. (user: js, size: 1188) [annotate] [blame] [check-ins using]
To Artifact [31020e84b4]:
- File
src/OFPlugin.h
— part of check-in
[81970b1dab]
at
2016-07-10 22:40:36
on branch trunk
— Add of_dl{open,sym,close}
It only makes sense to export the lowlevel variants as well. (user: js, size: 1441) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
41 42 43 44 45 46 47 48 49 | * @brief Loads a plugin from a file. * * @param path Path to the plugin file. The suffix is appended automatically. * @return The loaded plugin */ + (OF_KINDOF(OFPlugin*))pluginFromFile: (OFString*)path; @end OF_ASSUME_NONNULL_END | > > > > > > > > > > | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | * @brief Loads a plugin from a file. * * @param path Path to the plugin file. The suffix is appended automatically. * @return The loaded plugin */ + (OF_KINDOF(OFPlugin*))pluginFromFile: (OFString*)path; @end #ifdef __cplusplus extern "C" { #endif extern of_plugin_handle_t of_dlopen(OFString *path, int flags); extern void* of_dlsym(of_plugin_handle_t handle, const char *symbol); extern void of_dlclose(of_plugin_handle_t handle); #ifdef __cplusplus } #endif OF_ASSUME_NONNULL_END |