update: redesigning ctx functions and structure

This commit is contained in:
ngn
2024-07-05 01:44:42 +03:00
parent 38b99eda79
commit 6045f73478
20 changed files with 663 additions and 343 deletions

View File

@ -30,7 +30,7 @@ int main(int argc, char *argv[]) {
lm_ctx_pool_get_info(&ctx, true, true, NULL, NULL);
lm_ctx_pool_get_list(&ctx, true, true, NULL, NULL);
if(!lm_ctx_install(&ctx, "which")){
if (!lm_ctx_install(&ctx, "which")) {
printf("failed to install the package: %s (%d)\n", lm_strerror(), lm_error());
goto end;
}