add mod dir
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int stk_init(void);
|
||||
int stk_init(const char *mod_dir);
|
||||
int stk_shutdown(void);
|
||||
|
||||
size_t stk_module_count(void);
|
||||
|
||||
@@ -7,6 +7,7 @@ void *platform_get_symbol(void *handle, const char *symbol);
|
||||
|
||||
typedef void (*stk_module_func)(void);
|
||||
|
||||
char *stk_mod_dir = NULL;
|
||||
static void **stk_handles = NULL;
|
||||
static stk_module_func *stk_inits = NULL;
|
||||
static stk_module_func *stk_shutdowns = NULL;
|
||||
|
||||
Reference in New Issue
Block a user