[api] Default options accessible through getters, not static structs

This commit is contained in:
Al
2016-02-15 17:16:21 -05:00
parent f5ae95eb70
commit cf2a79bef1
6 changed files with 52 additions and 39 deletions

View File

@@ -79,7 +79,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();
if (languages != NULL) {
options.languages = languages->a;