update: example programs
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user