feat(module manager): store spec path and cb name

This commit is contained in:
yangwei
2024-09-25 17:44:27 +08:00
parent 154e727f07
commit c550acef84
3 changed files with 13 additions and 3 deletions

View File

@@ -24,6 +24,9 @@ struct module_spec_load
struct stellar_module *mod;
module_on_init_func *on_init_cb;
module_on_exit_func *on_exit_cb;
char *path;
char *init_cb_name;
char *exit_cb_name;
bool is_init_succ;
}__attribute__((aligned(sizeof(void*))));