new: seperate ctx init and new functions
This commit is contained in:
@ -55,7 +55,8 @@ typedef bool (*lm_ctx_check_callback_t)(
|
||||
/* ###############
|
||||
## ctx stuff ##
|
||||
############### */
|
||||
bool lm_ctx_init(lm_ctx_t *ctx, char *root_dir, char *temp_dir, char *data_dir);
|
||||
bool lm_ctx_init(lm_ctx_t *ctx);
|
||||
bool lm_ctx_new(lm_ctx_t *ctx, char *root_dir, char *temp_dir, char *data_dir);
|
||||
void lm_ctx_free(lm_ctx_t *ctx);
|
||||
|
||||
/* ####################
|
||||
|
Reference in New Issue
Block a user