Differences From Artifact [1423b35bee]:
- File src/OFPlugin.h — part of check-in [7e5c81e186] at 2018-01-03 19:49:46 on branch trunk — Update copyright notice (user: js, size: 1603) [annotate] [blame] [check-ins using]
To Artifact [14c7d1c65f]:
- File
src/OFPlugin.h
— part of check-in
[4642bc76b0]
at
2018-02-09 00:00:22
on branch trunk
— Add OFLoadPluginFailedException
OFOpenItemFailedException was too unspecific and only allowed an errno,
but dlopen() uses dlerror() to report errors, which returns a string. (user: js, size: 1638) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
53 54 55 56 57 58 59 60 61 62 63 64 65 | @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 | > | 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | @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 OFString *of_dlerror(void); extern void of_dlclose(of_plugin_handle_t handle); #ifdef __cplusplus } #endif OF_ASSUME_NONNULL_END |