From 0c55cd1aca19b57a9b8837d1672ae260cfca4d78 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sun, 4 Oct 2020 08:20:50 +0200 Subject: 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(). --- src/Fl_System_Driver.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_System_Driver.H') diff --git a/src/Fl_System_Driver.H b/src/Fl_System_Driver.H index 73f197f95..44b2333c0 100644 --- a/src/Fl_System_Driver.H +++ b/src/Fl_System_Driver.H @@ -178,7 +178,7 @@ public: // the default implementation of preferences_need_protection_check() may be enough virtual int preferences_need_protection_check() {return 0;} // implement to support Fl_Plugin_Manager::load() - virtual void *dlopen(const char *filename) {return NULL;} + virtual void *load(const char *filename) {return NULL;} // the default implementation is most probably enough virtual void png_extra_rgba_processing(unsigned char *array, int w, int h) {} // the default implementation is most probably enough -- cgit v1.2.3