[api] Default options accessible through getters, not static structs
This commit is contained in:
@@ -38,7 +38,7 @@ int main(int argc, char **argv) {
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
normalize_options_t options = LIBPOSTAL_DEFAULT_OPTIONS;
|
||||
normalize_options_t options = get_libpostal_default_options();
|
||||
|
||||
options.num_languages = 1;
|
||||
options.languages = languages;
|
||||
|
||||
Reference in New Issue
Block a user