Call module init init again, and new function startup and destartup.

NULL can be used if the function is not used. Open shared ports during
reload. Deinit is called during reload.
This commit is contained in:
W.C.A. Wijngaards committed 2024-07-01 16:10:07 +02:00
1 parent fd11cd9182
commit ff653a7ef8
32 files changed
+209 -187

No files matched your search

+2 -2
View File
@@ -777,8 +777,8 @@ size_t pythonmod_get_mem(struct module_env* env, int id)
*/
static struct module_func_block pythonmod_block = {
"python",
&module_dummy_init, &module_dummy_init, &pythonmod_init, &pythonmod_deinit, &pythonmod_operate, &pythonmod_inform_super,
&pythonmod_clear, &pythonmod_get_mem
&pythonmod_init, &pythonmod_deinit, NULL, NULL, &pythonmod_operate,
&pythonmod_inform_super, &pythonmod_clear, &pythonmod_get_mem
};
struct module_func_block* pythonmod_get_funcblock(void)