Change shutdown return type and hot reload WIP

- stk_shutdown now is a void return type
- detect if the module being loaded/unloaded is an existing module.
This commit is contained in:
2025-11-07 07:55:44 +01:00
parent 7169dd37b7
commit a7d40929bf
2 changed files with 15 additions and 7 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ extern "C" {
typedef enum { STK_MOD_LOAD, STK_MOD_UNLOAD } stk_module_event_t;
int stk_init(const char *mod_dir);
int stk_shutdown(void);
void stk_shutdown(void);
size_t stk_module_count(void);
size_t stk_poll(void);