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
-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