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:
1 parent
7169dd37b7
commit
a7d40929bf
2 files changed
+15
-7
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user