update: example programs

This commit is contained in:
ngn
2024-08-04 16:00:18 +03:00
parent 61ab7f66ac
commit bb1f5a61b2
7 changed files with 7 additions and 7 deletions

View File

@ -14,7 +14,7 @@ int main(int argc, char *argv[]) {
return ret;
}
if (!lm_ctx_init(&ctx, NULL, TEMP_DIR, NULL)) {
if (!lm_ctx_new(&ctx, NULL, TEMP_DIR, NULL)) {
printf("failed to init the ctx: %s (%d)\n", lm_strerror(), lm_error());
goto end;
}