diff options
author | Tristan Riehs <tristan.riehs@bordeaux-inp.fr> | 2024-06-30 16:20:34 +0900 |
---|---|---|
committer | Tristan Riehs <tristan.riehs@bordeaux-inp.fr> | 2024-06-30 16:20:34 +0900 |
commit | 46e6de294243e8dc593551bfe8c0e7090d03a159 (patch) | |
tree | a898e2c4504c8da30fdea2aebf034f7edb0e7a3e /src/disp.h | |
parent | 5d5ff4076abe2e8aeb40980ec1b3ef9ee5fa92e6 (diff) |
Improve dynamic loading
Make loading code cleaner and prefix public
function names to allow static compilation.
Diffstat (limited to 'src/disp.h')
-rw-r--r-- | src/disp.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,13 +33,14 @@ #define DISP_ERR (INT_MAX - 2) struct disp { - void *dl_handle; void (*init)(void); void (*display_calc)(int, int); int (*read_input)(void); void (*display_res)(bool, int); void (*destroy)(void); #ifndef NDEBUG + char *name; + void *dl_handle; char *so_path; void *(*pre_reload)(void); void (*post_reload)(void *); |