Differences From 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]
To Artifact [ced76ab1ad]:
- File src/OFPlugin.h — part of check-in [c91508ddfb] at 2016-07-11 19:04:29 on branch trunk — Windows improvements for of_dl{open,sym,close} (user: js, size: 1572) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | */ #import "OFObject.h" @class OFString; #ifndef OF_WINDOWS typedef void* of_plugin_handle_t; #else # include <windows.h> typedef HMODULE of_plugin_handle_t; #endif OF_ASSUME_NONNULL_BEGIN /*! * @class OFPlugin OFPlugin.h ObjFW/OFPlugin.h | > > > > > | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | */ #import "OFObject.h" @class OFString; #ifndef OF_WINDOWS # include <dlfcn.h> # define OF_RTLD_LAZY RTLD_LAZY # define OF_RTLD_NOW RTLD_NOW typedef void* of_plugin_handle_t; #else # include <windows.h> # define OF_RTLD_LAZY 0 # define OF_RTLD_NOW 0 typedef HMODULE of_plugin_handle_t; #endif OF_ASSUME_NONNULL_BEGIN /*! * @class OFPlugin OFPlugin.h ObjFW/OFPlugin.h |
︙ | ︙ |