diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-10-04 08:20:50 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-10-04 08:21:07 +0200 |
| commit | 0c55cd1aca19b57a9b8837d1672ae260cfca4d78 (patch) | |
| tree | a9f5b10b3ec558d7525f24037cafc86ce796d9e5 /src/drivers/X11/Fl_X11_System_Driver.H | |
| parent | 46598229a9605b25e3da5e0d7ad41343cf429497 (diff) | |
Create Fl_X11_System_Driver::dlopen_or_dlsym() for run-time addresses.
The intent is to gather in a single place of the X11 platform source code
all variable elements when using dlopen() and dlsym() system functions
(e.g., .so vs .dylib extension name, is RTLD_DEFAULT available, locations
to be sought).
Member function Fl_System_Driver::load() is created only to support
Fl_Plugin_Manager::load().
Diffstat (limited to 'src/drivers/X11/Fl_X11_System_Driver.H')
| -rw-r--r-- | src/drivers/X11/Fl_X11_System_Driver.H | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/X11/Fl_X11_System_Driver.H b/src/drivers/X11/Fl_X11_System_Driver.H index f8fddc741..004e474ae 100644 --- a/src/drivers/X11/Fl_X11_System_Driver.H +++ b/src/drivers/X11/Fl_X11_System_Driver.H @@ -67,6 +67,7 @@ public: #if HAVE_DLSYM && HAVE_DLFCN_H static bool probe_for_GTK(int major, int minor, void **ptr_gtk); #endif + static void *dlopen_or_dlsym(const char *lib_name, const char *func_name = NULL); }; #endif /* FL_X11_SYSTEM_DRIVER_H */ |
