public: add dll helpers to simplify basic interaction with exported functions lists

This commit is contained in:
Alibek Omarov
2024-12-23 04:43:15 +03:00
parent f1d7101ad8
commit 70897af362
8 changed files with 60 additions and 47 deletions

View File

@@ -232,6 +232,7 @@ typedef struct dll_info_s
{
const char *name; // name of library
const dllfunc_t *fcts; // list of dll exports
const size_t num_fcts;
qboolean crash; // crash if dll not found
void *link; // hinstance of loading library
} dll_info_t;