Use MODULE_DEFAULT in module_init to reference a global default function

This commit is contained in:
jsteube
2019-01-05 20:17:12 +01:00
parent 888da50aad
commit bbcc8fea29
8 changed files with 99 additions and 97 deletions

View File

@@ -2242,6 +2242,8 @@ typedef struct event_ctx
} event_ctx_t;
#define MODULE_DEFAULT NULL
typedef struct module_ctx
{
void *module_handle;